Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.setup > #136
| From | Doug Freyburger <dfreybur@yahoo.com> |
|---|---|
| Newsgroups | comp.os.linux.setup |
| Subject | Re: linux clients didn't use 2nd or 3rd server |
| Date | 2011-03-29 14:54 +0000 |
| Organization | http://mdfsolutionsinc.dealshop.us/ |
| Message-ID | <imsrqp$4e6$1@dont-email.me> (permalink) |
| References | <75c9ff37-ad96-4760-8cbf-88b66e8d2124@34g2000pru.googlegroups.com> |
josh wrote: > > Hi folks, > I would like to ask a linux clients (RHEL/CentOS 5.5) dns setting > question: > my problem is that, I setup the desktops' /etc/resolve.conf like > > search mydomain.edu.tw > nameserver (ip of dns1) > nameserver (ip of dns2) > nameserver (ip of dns3) > when dns1 is not functioning for whatever reason (server crash, > network down, hw,,), all my linux desktop/servers that rely on it > seemed frozen (because of dns lookup problem), but there were 2nd and > 3rd dns entries for them, why did this symptom still there? shouldn'd > they switch to/start to lookup names by using 2nd dns since this is > what they are for? any timeout or further settings I am missing? The UNIX stub resolver uses the first listed server until it times out, then tries the second listed server until it times out, then the third listed server until times out. That's 30 seconds per server listed so 90 seconds to fail. That's for each and every name lookup. There are a few ways to help this. Look at nscd which caches the names that have been used recently. That gives some simple help when one is available but not the first one in the list. Or run a cache only nameserver and point /etc/resolv.conf to yourself . It follows the chain of delegation, keeps statistics on which servers are currently responding, caches results. One major thing you have learned - DNS is like AC power and routing tables. It is not an optional service.
Back to comp.os.linux.setup | Previous | Next — Next in thread | Find similar
Re: linux clients didn't use 2nd or 3rd server Doug Freyburger <dfreybur@yahoo.com> - 2011-03-29 14:54 +0000
Re: linux clients didn't use 2nd or 3rd server The Natural Philosopher <tnp@invalid.invalid> - 2011-03-29 17:52 +0100
Re: linux clients didn't use 2nd or 3rd server Bjørn Steensrud <bjornst+usenet@skogkatt.homelinux.org> - 2011-04-01 16:38 +0200
Re: linux clients didn't use 2nd or 3rd server Doug Freyburger <dfreybur@yahoo.com> - 2011-04-01 16:47 +0000
Re: linux clients didn't use 2nd or 3rd server The Natural Philosopher <tnp@invalid.invalid> - 2011-04-01 19:05 +0100
csiph-web