Forum Discussion
Don_Whitlow_254
Nimbostratus
Jun 04, 2013GTM iRule to return alternate DNS result based on user-agent
Hi All,
This is more of a theoretical question at this point, but would it be possible to create an iRule on our GTM that would return a different DNS result based on the incoming client's user-...
Kevin_Stewart
Employee
Jun 04, 2013If that we're possible it'd solve a lot of other problems, but unfortunately the GTM DNS request doesn't see the user-agent header. That's not visible until the browser makes a layer 7 request to the LTM. It would, however, be trivial to redirect a request to a different site in an LTM iRule. You'd likely have to use an IP address or a different name that resolves to the remote site, but it's still doable.
Do the sanctioned bots come from known IP spaces?
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