Forum Discussion
RESOLV::lookup hard coded DNS ip address - How to avoid hard coding in irule
Hi Shashank shetti,
you have to follow the workaround of SOL12224 (aka.
recursion yes) to allow the iRule to use the local BIND to ask recursive DNS queries.
https://support.f5.com/kb/en-us/solutions/public/12000/200/sol12224
Note: Alternatively, you may want to hardcode a generic virtual server name (e.g. VS_EXT_DNS or DNS_INT_DNS) into your iRule and then use the names virtual servers to access some internal/external DNS pools. This technique allows you to still have flexibility in the case the DNS server pools members require changes, but also have the option to use different DNS server pools (Internal/External) to launch the query.
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
