Query re. /etc/resolv.conf...

Karl Pielorz kpielorz_lst at tdx.co.uk
Tue Sep 6 09:04:05 UTC 2016


We have a number of 10.3-RELEASE-p7 boxes - on which we use unbound as a 
local DNS / forwarder. Unbound forwards to a pool of 3 DNS servers (this is 
good, because if one fails - unbound handles it).

In '/etc/resolv.conf' we have:

search [blah]

We've done this - so that if unbound crashes, the machine should still be 
able to resolve names - it'll just be subject to a delay as the resolver 
library tries (unbound), doesn't get an answer so tries the name server (kind of as a last resort).

This seems to work OK. However - if we 'turn off', all local 
name resolution is subject to a delay, even if unbound is alive and well - 
and able to forward/resolve names.

Commenting out the nameserver line, and everything works as 
before, but with it listed (and down) the delay comes back.

Can someone confirm this should work that way? - I thought by default it 
was always "try the first, timeout, try the second..."

It doesn't appear to be working that way for us :(


More information about the freebsd-questions mailing list