Forum Discussion
Richard__Harlan
Jun 15, 2006Historic F5 Account
DNS Lookup
Playing with the following rule trying to get DNS lookups working. Every time I hit the rule the name::response allways comes back empty. Any ideas what I am doing wrong. Thanks
when HTTP_RE...
Colin_Walker_12
Mar 23, 2011Historic F5 Account
Could you specifically check each of the nodes with LB::status?
Something like:
set status1 [LB::status pool member ]
set status2 [LB::status pool member ]
if {$status1 eq "up"} {
set ips [RESOLV::lookup @$static::DNS_RESOLVER $host]
set _ipaddress [lindex $ips 0]
} elseif {$status2 eq "up"}{
set ips [RESOLV::lookup @$static::DNS_RESOLVER_BACKUP $host]
set _ipaddress [lindex $ips 0]
}
This way you wouldn't have to endure the timeout.
Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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