Forum Discussion
gabigart_31229
Oct 18, 2012Nimbostratus
Resolv lookup by virtual server name
Hi!
We are trying to resolve some domains using the RESOLV::lookup command on iRules, so we created a virtual server pointing to a pool of DNS servers.
The code we use in the iRule is as f...
nitass
Oct 19, 2012Employee
Aaron is correct. 🙂
[root@ve11a:Active:Changes Pending] config tmsh
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when HTTP_REQUEST {
log local0. [RESOLV::lookup @/Common/dnsvs -a "www.google.com"]
}
}
[root@ve11a:Active:Changes Pending] config tail -f /var/log/ltm
Oct 19 20:28:15 tmm info tmm[23647]: Rule /Common/myrule : 173.194.38.146 173.194.38.144 173.194.38.148 173.194.38.145 173.194.38.147
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