Results 1 to 2 of 2
I am trying to troubleshoot a DNS issue. I added a bogus nameserver as the primary in resolv.conf and a legitimate on as the secondary. I modified the timeout to ...
- 12-21-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 3
DNS Settings
I am trying to troubleshoot a DNS issue. I added a bogus nameserver as the primary in resolv.conf and a legitimate on as the secondary. I modified the timeout to 0 seconds so it finds the 2nd DNS server more quickly. However, when I try to ping another server, it still waits about 2 seconds then finally gets a response. I do the same test with a Windows server and the ping response is immediate. Is there another way to configure this so the client is using both DNS servers and doesn't wait to timeout? Below is my resolv.conf.
options timeout:0
search domain.com
nameserver 10.1.1.1
nameserver 10.150.1.216
Thanks a lot,
Scott
- 12-22-2009 #2
NOPE. DNS is designed that way. It will use the first server and then wait for either a response or a timeout. Which ever comes first it will use. A timeout will cause DNS to use the next listed sever and so on and so forth until it runs out of servers.
Sounds like the windows box is using cached information thus it doen't have to wait for the DNS request to timeout. Redhat by default doesn't have caching turned on, you must turn it on if you want to use it.
I don't know what DNS issue you are trying to resolve but adding a bogus server I don't think is the way to troubleshoot a problem.
I normally use DIG to troubleshoot DNS issues


Reply With Quote