Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 01:36:36 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Colin Percival <cperciva@freebsd.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Apache + Caching DNS: conflict at bootup? (DNS runs too late)
Message-ID:  <20050510063636.GA5894@dan.emsphone.com>
In-Reply-To: <428047DA.4080803@freebsd.org>
References:  <20050510052419.54768.qmail@web54010.mail.yahoo.com> <428047DA.4080803@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 09), Colin Percival said:
> Rob wrote:
> > Some time ago, there was (or still is) a similar conflict with
> > hostname resolution at bootup when using ntpd.
> 
> Yes, but not with named -- the problem was only when using a dns
> cache from the ports tree, since those are started later in the boot
> sequence.

I always put two nameserver lines in my resolv.conf, even on machines
running bind (where the first line is 127.0.0.1).  That way if programs
are started before bind, they can still do DNs lookups.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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