shashank_shetti
Feb 17, 2016Nimbostratus
RESOLV::lookup hard coded DNS ip address - How to avoid hard coding in irule
Here is the my irule code in how I resolve the ip address of domain name
set dest [lindex [RESOLV::lookup @10.10.100.100 -a "someSite.net"] 0]
I do not want to hard code the dns ip address in the above code. IF I happen to remove it I am getting empty ip address while resolving to somesite.net.
I was in understanding that in the above code if I dont mention the dns ip then it should be looking at BIND Forwarder Server list for the dns.
System -> Configuration:Device:DNS
adding the dns entry in the following properties dns lookup server list bind forwarder server list
but it still doesnt work. Any help is appreciated.