DNS Resolution with the RESOLVER::name_lookup Command
When 15.1 released, we deprecated the RESOLV::lookup command. It still works, but there is no commitment that it will continue to work, so now is a good time to begin migrating your code away from it...
Published Jan 26, 2021
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
rob_carr
Feb 16, 2021Cirrocumulus
Hi Jason,
Your rule uses CLIENT_ACCEPTED, which would seem to imply that this iRule would be attached to a DNS listener. In my organization BIG-IP DNS listeners are the first stop for all client DNS queries, so attaching an iRule to the listener would lead to hundreds of thousands of evaluations per day that aren't really needed (only a subset of queries need this functionality).
Is there any reason why the DNS_REQUEST event couldn't be used (instead of CLIENT_ACCEPTED) and then the iRule associated with a specific Wide IP?