Operating System - HP-UX
1771031 Members
2748 Online
109003 Solutions
New Discussion юеВ

Re: First Name server not responding

 
SOLVED
Go to solution
Sachin Patel
Honored Contributor

First Name server not responding

I have three nameserver line in resolv.conf. When first server goes down it waits for around 80Sec and gets the answer from second server. But when I do nslookup again it still trys the first nameserver.
If I am not mistaken, if first server not respond it should ask second server then second querie it should not ask first server again.
Does I need any extra step?

Thanks
Sachin
Is photography a hobby or another way to spend $
2 REPLIES 2
Andrew_4
Honored Contributor
Solution

Re: First Name server not responding

Sachin,

To the best of my knowledge, your nslookup will consistantly query the first name server until you change your resolve.conf file to do otherwise.

Your HP-UX system doesn't know when the 1st name server will be back up again, and will therefore continue to query it.

Hope this helps.

Andrew
The Unix Programmer's Manual, 2nd Edition, June, 1972: "The number of Unix installations has grown to 10, with more expected."
Anthony Goonetilleke
Esteemed Contributor

Re: First Name server not responding

There are other keywords you can use in nsswitch.conf

i.e

dns [NOTFOUND=continue TRYAGAIN=continue]

you might want to use some of these
Minimum effort maximum output!