Forum Discussion
Livius
Cirrus
Mar 08, 2018RESOLV::lookup questions
Hi everyone,
I'm using an irule where I use RESOLV::lookup to determine the destination for ongoing connections.
I have some concerns about a failure scenario where the FQDN could not be resolv...
JG
Cumulonimbus
Mar 08, 2018 Put lookup result in a list:
set addr_list [RESOLV::lookup @8.8.8.8 -a example.com"
Check if there is any entry found:
if { [llength $addr_list] > 0 } {
foreach addr_found $addr_list {
Do something.
}
} else {
No entry found.
}
See https://devcentral.f5.com/wiki/irules.resolv__lookup.ashx, which also answers your questions about result caching.
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