Re: resolv.conf question
- Reply: Doug Denault : "Re: resolv.conf question"
- In reply to: Doug Denault : "resolv.conf question"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Oct 2022 18:41:56 UTC
On Tue, Oct 11, 2022 at 1:03 PM Doug Denault <doug@safeport.com> wrote: > I have a resolve.conf specifying two name servers. The first one is in the > same data center, the second one is an Amazon virtual server. I had to > reboot a jail system. As Murphy would have it the local nameserver for > some > reason did not answer when the jails were started. > > I had assumed that if server one was not available the after the fail time > server two was tried. This only happened for the first jail. The linux > writeups (as I understand them) would seem to imply the second server > should be tried. > > So I tried to RTFM, /usr/src/contrib/ldns/resolver.c in this case. It is > almost certain that the system was up but bind did not respond. The source > is a bit above my pay grade but it did seem possible that if that was the > case, the second server was never tried. This is what actually happened. > > There were no other issues as each of the jails started fine with a manual > boot. Does anyone know if the timeout and/or retry setting offer a way > around this. > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > > Hi Doug, They are certainly tried in succession. If you couldn't resolve a given name, then something was certainly wrong. For testing, had you tried moving the second to the first? I'd bet the result would have been the same and there was instead something else going on. Thanks, ~Paul -- __________________ :(){ :|:& };: