Forum Discussion
RiverFish
Altostratus
Oct 03, 2013GTM iRule that chooses pool based on uri port?
Can you create a GTM iRule that looks for a specific port in the DNS request? Is the GTM even aware of ports? It wont let me create this iRule:
when DNS_REQUEST {
if { [URI::port] eq "62007" ...
Kevin_Stewart
Employee
Oct 03, 2013Unless you also enable LTM module and get the HTTP requests on same device...
GTM is really only aware of IP addresses and host names. Also consider that the DNS request to GTM will always be port 53. Only the resulting LTM VIP will see the other port. You could, technically:
- Send users to a "default" host via GTM resolution.
- When they arrive at this LTM VIP, evaluate the port and then redirect them to a new host name (which the GTM might resolve to something else).
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