f5user_108265
Jul 18, 2008Nimbostratus
GTM iRule defining external DNS server
Hi everybody,
I am facing the following problem. I would like to force the GTM to query an internal (accessible only by the BIG-IP on the private side) DNS server if the DNS record cannot be found on the GTM/ZoneRunner level.
Imagine the following: GTM is managing the company.com domain. There are 4 wide IPs defined within it: a.company.com, b.company.com, c.company.com and d.company.com. Currently, if a DNS query for e.company.com arrives, GTM will respond with an answer saying that it failed to resolve the name. However, what I would like to do is to configure GTM so that before it sends the failed message, it will forward the DNS query to the internal DNS server for resolution. IF the server is aware of the e.company.com record it should send it back to GTM and eventually the client. Otherwise, GTM should respond that it could not resolve the name.
Is this do-able on the BIG-IP and GTM Wide IP rules? If so, could you tell me how to achieve this? My understanding is that it would require one to enable the recursion on the BIG-IP, as well as define iRule with the use of "when LB_FAILED". Am I right?
Thanks,
ALeu