Forum Discussion
Ruggerfly1
Nimbostratus
Apr 04, 2013GTM IRULE for DNS request by certain IP's.
Good Morning
Trying to stick to DNS Server queries to a pool made just for them; will this work? The IP's are Google public DNS servers. WOuld stick this IRULE to the WIP.
8.8.8.8 always gets pool google-a
8.8.4.4 always gets pool google-b
all others get default_pool
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr] equals 8.8.8.8] } {
pool google-a
if { [IP::addr [IP::remote_addr] equals 8.8.4.4] } {
pool google-b
} else {
pool default_pool
}
}
thanks!
No RepliesBe the first to reply
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