SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old August 26th, 2003, 04:49 AM
English Guy English Guy is offline
Senior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Boston MA
Posts: 100 English Guy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 8 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old August 26th, 2003, 09:04 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > how does /etc/resolv.conf work?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway