Forum Discussion
Nick_T_68319
Nimbostratus
Aug 13, 2009GTM Requests
I have a wide ip setup that returns the public address that is nat'd to a private address. I know you can setup a view so you can return an internal or external dns zone, but this does not seem to ap...
The_Bhattman
Nimbostratus
Aug 13, 2009How about the following:
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr]/24 equals 10.10.1.0/24] } {
host 10.20.20.20
}
}
The way this iRule works is bastically returns back A record (10.20.20.20) only to clients that fall within the range 10.10.1.0/24, everything else will return your public address.
Hopefully this example helps
CB
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