Forum Discussion
Wasfi_182818
Altostratus
Aug 26, 2016Split DNS with IPV6
Hi;
The following irule achieves split DNS in IPV4 world
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] \
or [IP::addr [IP::remote_addr] equals 192.168.0.0/16...
Stanislas_Piro2
Cumulonimbus
Aug 26, 2016The irule is the same:
when DNS_REQUEST {
log local0. [IP::remote_addr]
if { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] or [IP::addr [IP::remote_addr] equals 192.168.0.0/16] or [IP::addr [IP::remote_addr] equals 172.16.0.0/12] } {
pool pool
} elseif { [IP::addr [IP::remote_addr] equals 2a02:1111:2222:3333::0/64] } {
log local0. [IP::remote_addr]
pool pool
}
else {
pool poolb
}
}
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