Piyush_72418
Feb 24, 2009Nimbostratus
check
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...
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