Forum Discussion
Marcus_Hong_Yu
Nimbostratus
Jun 02, 2017LTM irule same irule got called by multiple tmm instances
HI guys, recently I'm working on an irule to make LTM VS acting as reverse proxy. basically the user will call the VS on https, and the VS will use the irule to do DNS query against a specific URL an...
Stanislas_Piro2
Cumulonimbus
Jun 03, 2017Another improvement is to create a dns pool containing pool dns servers and monitored with a dns monitor.
Then use this code
when CLIENT_ACCEPTED {
foreach dns [active_members -list p_dns] {
Check if the first list element was empty
if {[set dest [lindex [RESOLV::lookup @[lindex $dns 0] -a "www.abc.com";] 0]] ne ""} {
Set Node IP based on DNS resolution
node $dest 443
break
}
}
}
This code will request only dns active members based on the pool member status.
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