Forum Discussion
KingMeow_3883
Altostratus
Mar 26, 2015GTM iRule to forward dns request to a pool of DNS servers
Hi,
On the GTM, is it possible to use an iRule to disable wideIP and forward a dns request to a pool of DNS servers instead?
I have a situation where LTM pool members attempt to resolve eac...
StephanManthey
Nacreous
Mar 28, 2015Hi KingMeow,
assuming your pool of nameservers associated with your listener is already used to handle incoming queries which cannot be resolved by GTM, right? An iRule will now disable local GTM processing if a client request is received from a local network:when DNS_REQUEST {
if {[IP::addr [IP::client_addr] equals 10.131.131.0/24]} {
log local0. "dns query from local network: <[IP::client_addr]>"
DNS::disable gtm
}
}
Make sure to create this iRule as an LTM iRule and associate it with the lister (actually a virtual server in the LTM context as well).
So your assumption is right as I just verified in my lab. Instead of verifying versus a single network you may want to use the class command in combination with a datagroup to exclude multiple client networks. Thanks, StephanHelp guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
