Forum Discussion
Mariusz_B
Nimbostratus
Jan 16, 2015GTM iRule - answering DNS based on some criteria.
Hi,
I need some help with developing an iRule for DNS queries.
Requirements:
check IP range a request came from (this is the easy bit which I have done already)
check monitor status -...
Brad_Parker
Cirrus
Jan 20, 2015Are you using BigIP 11.x? If so, you can't use $::All_Client_IPs. Try this:
when DNS_REQUEST {
if { class match [IP::remote_addr] equals All_Client_IPs } {
if {[LB::status vs Client_VPN_1] eq "up" } {
host 1.1.1.1
} else {
host 2.2.2.2
}
}
}
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