Date: Thu, 6 Oct 2005 22:27:34 +0930 From: Malcolm Kay <malcolm.kay@internode.on.net> To: "J. T. Farmer" <jfarmer@goldsword.com>, stable@freebsd.org Subject: Re: Hosts/dns contention in FBSD 5.4 Message-ID: <200510062227.34126.malcolm.kay@internode.on.net> In-Reply-To: <4344047B.9040907@goldsword.com> References: <200510050050.26723.malcolm.kay@internode.on.net> <200510051135.35932.malcolm.kay@internode.on.net> <4344047B.9040907@goldsword.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Oct 2005 02:21 am, J. T. Farmer wrote: > Malcolm Kay wrote: > >On Wed, 5 Oct 2005 11:06 am, Jeremy Bogan wrote: > >>You could try running a caching DNS server locally, DjbDNS > >> is simple to setup and get going. > > > >Yes, I have thought that maybe a local simple caching dns > >server would help; and if I can't otherwise fix the problem > >I'll give it a go. And I appreciate your suggestion of > >DjbDNS. > > > >It does seem however that this should not be necessary. > > It is necessary when you have multiple machines and you take > away the connection to their DNS. > > So, you have a couple of choices. the first is to setup each > machine such that it refers to it's local files first, then If you can find my original query you will see that I have /etc/ host.conf and /etc/nsswitch set to go first to the local files, and the appropriate entries are in /etc/hosts; and that is why I felt a local DNS server should be unnecessary -- but it doesn't seem to work out. It seems that later releases of open_sshd by default do a reverse DNS lookup. See Robert Marella's response. Even if the "UseDNS no" option works it looks like the local caching server might be the way to go. > looks for the remote DNS or you setup a local caching server. > Personally, I would go for the second choice. A local server > can be responsible for DNS for all local machines (including > itself) as well as referring & caching external lookups. this > makes life a lot simpler for configuring the other computers. > > John > Thanks, Malcolm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510062227.34126.malcolm.kay>