Forum Discussion
Piyush_72418
Nimbostratus
Feb 24, 2009check
If I have a Geo IP based domain resolution @ DNS.
like based on Geo location abc.com will be resolved to either a.b.c.d (if US) and e.f.g.h (if from India)
Can I write a iRule on BigIP...
hoolio
Cirrostratus
Feb 25, 2009
What I need to check is the DNS IP to which the DNS request from the client is resolved.
Assuming you're not using NAT between the client and the BIG-IP, this should be the VIP address then. Or if you are using NAT, the IP you'd want to check would still be the VIP address (even though that might not be the IP the client made the request to). So you can change IP::client_addr to IP::local_addr in the example CB posted.
Aaron
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