|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
how does /etc/resolv.conf work?
So, as far as I can tell, when a computer tries to lookup an IP address, it goes to /etc/resolv.conf and queries the first nameserver. If the first nameserver times out, it then goes to the 2nd, & so on. Based on an issue I am having, it looks as though if the first nameserver does not time out, but just does not have an entry for the query, it does NOT then roll down to the next nameserver to see if it has a valid entry.
Is this the case, and if so, is there a setting to make it roll down? |
|
#2
|
||||
|
||||
|
I do not use linux, and therefor do not know the format of a resolve.conf file. However, since you say it contiains the dns server list, I DO know how windows handles its dns server list. Also, logically, it makes sense that the way windows does it is the norm.
What you say is true. It starts at the first server. If the server is down, it will attempt the next server. Failed queries are NOT retried with other servers in the list. Most of the time this is merely a waste of bandwidth, cause in a perfect world, all working servers will return the same results. It is extremely unlikely that there would be an option to do otherwise, for that is not the purpose of having multiple servers in the list.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > how does /etc/resolv.conf work? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|