Forum Discussion
Jonathan_Robins
Nimbostratus
Aug 26, 2010GTM iRule to block certain IPs DNS Query of a WideIP
Hello
I need to stop a GTM Wide IP from responding to client IPs unless they are in a whitelist.
Ideally the GTM would respond with an NSDOMAIN rather than drop the request.
I am...
Chris_Miller
Altostratus
Aug 27, 2010Can you try this syntax for matchclass?
when DNS_REQUEST {
if { ![class match [IP::client_addr] eq ip_allowed_datagroup] } {
cname "somewhere.else" } }
Make sure your datagroup is an address-type and not string-type.
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