Suggestions for coping with this issue

Alan Clegg Alan_Clegg at isc.org
Sun May 4 00:07:28 UTC 2008


Tuc at T-B-O-H.NET wrote:
> Hi,
> 
> 	We have a few systems that need to do DNS lookups for a few domains
> outside of our control, make decisions based on it, and sleep for an hour.  
> The problem is that they have a hair timer on getting the reply back. It seems 
> if it isn't back in 500ms or less, it considers the domain invalid and won't 
> allow anyone who uses that system to do what they need to.  
> 
> 	The domains we need to get have a 5 minute TTL on the records. After 
> you use nslookup/dig to get the information, the subsequent requests are of 
> course quicker due to caching. 
> 
> 	Is there anything we can do to "poke" bind 9 to either extend the
> TTL, or during a special query/command flush and reget that remote zone 
> completely?
#!/bin/sh
while true
          do
                 echo flushing
                 rndc flushname www.cnn.com
                 echo digging
                 dig www.cnn.com
                 echo sleeping
                 sleep 2400
                 echo next
         done

-- 
Alan Clegg
ISC Training and Support
+1-650-423-1357 (o) +1-919-271-8851 (m)




More information about the bind-users mailing list