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 apply for a wideip. Is it possible to make an internal view that will make the wideip return the internal ip instead of the external ip?
How 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
Is it possible to redirect it to the pool, so it is still redundant?
I believe you can, by using the pool command Click here
I’m pretty sure you could also use topology to give an internal IP to internal clients.
Aaron