Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 08:54:50 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        "Mark Powell" <M.S.Powell@salford.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using dnscache locally with FBSD 6.x
Message-ID:  <20060801085450.56eadfe5.wmoran@collaborativefusion.com>
In-Reply-To: <20060801133245.B9668@rust.salford.ac.uk>
References:  <20060801133245.B9668@rust.salford.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to "Mark Powell" <M.S.Powell@salford.ac.uk>:

> Hi,
>    I want to put a local DJB dnscache on each host. This is primarily to 
> improve reliabilty during network glitches. They will have cached most of 
> our local addresses and will not hang if one of their dns servers 
> disappears.
>    However, I use svscan to start up dnscache, and that starts very late in 
> the boot. That means I can't just have the single "nameserver 127.0.0.1" 
> line in resolv.conf, as every lookup would timeout until dnscache started. 
> That means I need to replace resolv.conf early in the boot with the 
> addresses of remote dns caches:

Have you investigated the possibility of moving svscan's startup earlier in
the boot sequence?  I don't know whether the svscan startup script is rcng
compliant yet, but if it is, you could move it to /etc/rc.d and move it
_way_ up in the startup sequence.

Another option is to put addresses that need to resolve before svscan has
started into /etc/hosts so that they don't need DNS.  This could be
a maintenance nightmare, though, if there are many addresses.

-- 
Bill Moran
Collaborative Fusion Inc.

****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060801085450.56eadfe5.wmoran>