Forum Discussion
Garth_104943
Nimbostratus
Feb 18, 2010Name resolution based on source IP
Newbie question, but please let me know if this is possible.
I have a domain www.mydomain.com that resolves publicly to one address (akamai cached)
The same domain www.mydomain.com resolves to a different address on our internal network (direct connection the the F5 Virtual Server address)
There are certain conditions when I want to route the traffic from our internal network to the Akamai hosted address (http redirects don't work)
Is there a way to force a dns lookup using a specified external nameserver when certain conditions are met on a HTTP_Request?
Thanks
G
5 Replies
- The_Bhattman
Nimbostratus
Hi Garth, - hoolio
Cirrostratus
You could take the name lookup functionality from the first Codeshare example below and modify it to do a lookup every X seconds as in the second example: - kev_245_28249
Nimbostratus
Can one use this code share in the following mannor? - hoolio
Cirrostratus
You can use the node command to assign an arbitrary IP and port for a load balancing destination. The IP:port does not need to be a pool member. - Colin_Walker_12Historic F5 AccountSo what Aaron's trying to say is, "No, you don't have to configure all of the possible IPs as a member of a pool". ;)
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