Forum Discussion
Craig
Nimbostratus
Dec 11, 2016GTM Split DNS - Topology Records or Zone Views?
I'll be setting up a new Datacenter and running GTM between LTMs at each DC. When the need arises, I need internal clients to resolve internal VSs for a WIP, and external clients should get an exter...
Stanislas_Piro2
Cumulonimbus
Dec 12, 2016Hi,
you can assign this irule to the wide IP.
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] \
or [IP::addr [IP::remote_addr] equals 172.16.0.0/12] } {
pool [string map {"_nat" "_int"} [lindex [pools -list] 0]]
}
}
With this irule, pool name must be :
- pool1_nat with VS with external IPs
- pool1_int with VS with internal IPs
The pool pool1_nat must be assigned to the VS.
VS with external IPs must be created manually with following parameters:
- IP address : External IP address
- NAT address : LTM virtual server IP address (used to monitor service)
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