Forum Discussion
RoutingLoop_179
Cirrus
Jan 29, 2013my DNS irule - how can i optimise it further or is there a better way?
Hi - i've created an irule losely based on DNS blackhole irules i've seend to rewrite DNS responses.
But my rule basically has to check a client source address against a list of subnets i...
hoolio
Cirrostratus
Feb 12, 2013If you had each IP or subnet as a key in one data group and had the sitename as the value for each key, you could do something like:
switch [class match -value [IP::client_addr] equals site_subnet_list_all] {
"site1" {
site1 match so do something
}
"site2" {
site2 match so do something else
}
default {
no match so take a default action
}
}
Aaron
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