Operating System - HP-UX
1834149 Members
2170 Online
110064 Solutions
New Discussion

Re: Changing DNS nameserver Timeout

 
SOLVED
Go to solution
Scott Torgerson
Occasional Contributor

Changing DNS nameserver Timeout

Does anybody know a way to make DNS go to the next "nameserver" entry in the /etc/resolv.conf file faster, if the the first one is down or not responding? If the first nameserver is not responding, it takes to long to go to the next entry.
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor

Re: Changing DNS nameserver Timeout

Hi,

Add the following line in your /etc/resolv.conf:

retrans [time in 1000th of a second]

If you want the timeout to be in 1 second, then the retransmit should be:

retrans 1000

Since retry is only once (the default setting I am recall correctly), the retransmit is analogous to a timeout.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com