1758583 Members
1991 Online
108872 Solutions
New Discussion юеВ

DNS Troubleshooting

 
Mike_21
Frequent Advisor

DNS Troubleshooting

It seems we are having a DNS issue. We have a list of DNS servers in the resolv.conf file, and the other day, one of the servers went down. Isn't the server suppose to go to the next entry in the resolv.conf file????

Thanks
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: DNS Troubleshooting

Yes, it is supposed to go to the next server in the resolv.conf file if the query times out.

From the resolv.conf man page:

"The algorithm used is: Try a name server; if the query times out, try the next and continue until all name servers have been tried, then repeat trying all the name servers until a maximum number of retries have been made."

Did it not behave in this fashion for you? What did happen when one of your DNS servers went down?
S.K. Chan
Honored Contributor

Re: DNS Troubleshooting

From Technical KNowledge ..

To change the timeout and retransmit default for a dns query:

1. Install the applicable patch:
[PHCO_20098/PACHRDME/English]
(HP-UX 10.20 - libc:y2k:year2000:cumulative)

[PHCO_20493/PACHRDME/English]
(HP-UX 11.0 - libc:10.20:compatibility)

Note: These patches, as with any patches, may be superseded

2. Edit /etc/resolv.conf by adding the retry and retrans parameters.
retrans is specified in milli-seconds.
For example, to configure the system to only do two retries and to retransmit in 3 seconds, edit the file in the following manner:

domain mydomain.com
nameserver ip_of_nameserver1
nameserver ip_of_nameserver2
retry 2
retrans 3000
Sanjay_6
Honored Contributor

Re: DNS Troubleshooting

Hi,

you can put

retrans 3000
retry 3

in your /etc/resolv.conf and try.

Hope this helps.

Regds