Forum Discussion

InnO's avatar
InnO
Icon for Nimbostratus rankNimbostratus
Aug 25, 2017

GTM/DNS return DNS RR based on Client IP

Hi,

 

I have a DNS master zone configured in GTM/DNS v12. Until now, I have quite no experience with GTM, I am trying to figure out a solution for a specific case and check if GTM can provide a fix. I have some specific RRs (A records in fact) with an identical name but with different IPs. I would like GTM/DNS to select only 1 RR to provide to the users query based on the client IP making the DNS query.

 

So for example, if my DNS zone contains :

 

  • 10.10.10.10
  • 20.20.20.20

If the client IP is originating from 172.16.0.0/16, return 10.10.10.10 A record. Else return 20.20.20.20 A record.

 

Is it something easily feasible in GTM ?

 

Thanks, InnO.