Forum Discussion

Nick-C_17365's avatar
Nick-C_17365
Icon for Nimbostratus rankNimbostratus
May 16, 2013

Using an Irule to return different addresses for GTM Forward Zones

Firstly is this possible ?

 

 

I have clients coming in from 3 different address spaces. Internal, Private (172) and Internet

 

 

I have a top level domain and a subdomain. The top level domain has forwarding zones for the subdomain, and returns the Private addresses of the Sub-Domain F5's.

 

 

I need to know if I can use an Irule to return different addresses based on the source address of the DNS query - similar to the irules I use for my Wide-Ips?

 

Global Traffic ›› ZoneRunner : Zone List ›› subdomain.com.

 

E.G: Under the Configuration, Options section

 

 

 

when DNS_REQUEST {

 

 

 

if { [IP::addr [IP::client_addr]/8 equals "10.0.0.0"] } {

 

 

 

forwarders {

 

10.0.x.x;

 

10.0.x.y;

 

};

 

 

 

if { [IP::addr [IP::client_addr]/16 equals "172.20.0.0"] } {

 

 

 

forwarders {

 

172.20.x.x;

 

172.20.x.y;

 

};

 

 

 

 

} else {

 

forwarders {

 

66.x.x.x;

 

66.x.x.y;

 

};

 

}

 

 

Or does this box accept normal BIND stuff only?