Forum Discussion
Xi_Wang_97546
Nimbostratus
Jul 09, 2007Can GTM redirect DNS requests to external host?
Hi,
I am new to F5 BIG-IP equipment and the iRule scripting. Could someone here tell me what I am trying to do is possible?
My GTM controls 2 LTMs to response to HTTP requests on www.foobar.com for load balancing. It all works just fine. When all the virtual servers are above their limit, I want to redirect the HTTP requests to a backup machine [say, 10.1.10.1] which is NOT being controlled by the GTM. So the GTM needs to redirect the traffic to LDNS with the name and/or ip address of the backup machine. Is this possible, or just a very naive question?
I am working on a simple iRule script which will redirect all the traffic to this backup machine, as shown below.
when DNS_REQUEST {
host 10.1.10.1
}
While the HTTP requests are not going through GTM to its virtual servers, it seems they are not being redirect to 10.1.10.1 either.
Could someone tell me what I did wrong?
Thanks,
-Xi
- PodQueen_107490Historic F5 AccountHello,
- Xi_Wang_97546
Nimbostratus
Hi, - PodQueen_107490Historic F5 AccountA few answers/comments to your questions.
- Xi_Wang_97546
Nimbostratus
My GTM isn't working properly in that the load is not distributed to the two LTMs it's controlling based on the load balance method I chose. In fact, one of the LTM does not get any request from the GTM. Using tcpdump I can observe heavy traffic between the GTM and one of the two LTMs. - PodQueen_107490Historic F5 AccountTo take your GTM out of a sync group, navigate to the "System -> General Properties -> Global Traffic -> General" page. From this page, disable (uncheck) the Synchronization and Synchronize DNS Zone Files options. You should do this to both GTM machines in the sync group.
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