For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

235's avatar
235
Icon for Nimbostratus rankNimbostratus
Dec 14, 2017

How to rewrite dns ttl basd on client ip.Thanks

Hi Friends

 

How to rewrite A-Records's TTL basd on different client ip at dns respons. Example:

 

Client A(IP:192.168.1.0/24) request ,GTM via GSLB wideip respons 202.0.0.1 TTL 600 or 111.0.0.1 TTL 600.

 

Client B(IP:192.168.2.0/24)as well as request ,GTM via GSLB wideip respons 202.0.0.1 or 111.0.0.1 but its TTL is "30".

 

Thanks

 

2 Replies

  • You should be able to use an iRule to conditionally replace the TTL in the DNS response based on client address. Check out the DNS::ttl examples here.