Forum Discussion
Jim_Araujo_1061
Nimbostratus
Oct 28, 2014GTM iRule to modify Query?
Hey folks, is it possible for an iRule to change the DNS name being queried? For example, based on the condition in the article here https://devcentral.f5.com/questions/gtm-irule-to-provide-cname-bas...
Hamish
Cirrocumulus
Oct 28, 2014Yes. You can use the DNS_REQUEST event to access and alter the request as it comes in (And the DNS_RESPONSE to alter it on the way out).
See => DNS_REQUEST and DNS::question that show how to intercept the request and access and alter the question (query) itself.
H
Help 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