Operating System - HP-UX
1830494 Members
2794 Online
110005 Solutions
New Discussion

resolv.conf retry and retrans - do they work?

 
Joseph Hoh
Frequent Advisor

resolv.conf retry and retrans - do they work?

I have had response time issues when we loose one of our DNS servers. It was suggested that I add the retry and retrans option to my reslov.conf file. I also installed patch PHCO_23706. However, these options do not seem to help. Has anyone had any luck with these options actually working?
4 REPLIES 4
John Dvorchak
Honored Contributor

Re: resolv.conf retry and retrans - do they work?

As far as I know short of editing the resolv.conf file and either moving the failed DNS server down in order or removing it, there is not much you can do to get around the response issues. If a DNS server is not present on the LAN, the DNS request has to time out before it queries the second third...etc. The good news is that the change takes affect immediately and nothing has to be restarted.
Good luck.
If it has wheels or a skirt, you can't afford it.
Stefan Farrelly
Honored Contributor

Re: resolv.conf retry and retrans - do they work?


We use the retry and timeout options in our .nslookuprc file (see man nslookup) and I can vouch they do work. We used to have a flaky primary DNS server and changing the timeout to 2 and retry to 1 in our .nslookuprc file meant a failed request quickly moved onto our secondary DNS server in 2 secs - and it worked a treat.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Chuck Hilyard
New Member

Re: resolv.conf retry and retrans - do they work?


By changing the .nslookuprc does that affect all lookups, or just the nslookup software?
A. Clay Stephenson
Acclaimed Contributor

Re: resolv.conf retry and retrans - do they work?

I suggest that you try setting
the enviroment variables,
RES_RETRANS and RES_RETRY. They have higher precedence than the values in resolv.conf.
If it ain't broke, I can fix that.