NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Resolver problems

On Dec 3, 2009, at 1:24 PM, Ingolf Steinbach wrote:
> However, ntpdate now complains that the NTP servers cannot be found.
> Shouldn't named be started before executing ntpdate and starting ntpd?
> Is there a rc.conf setting for that?

It's likely that named is starting before ntpd, but has not yet come up to the 
point where it can handle requests.  You can check the ordering with:

  rcorder /etc/rc.d/named /etc/rc.d/ntpdate /etc/rc.d/ntpd

Solutions to the problem include adding a nonlocal nameserver to 
/etc/resolv.conf so that DNS requests can be resolved even if your local named 
isn't ready yet, adding a short sleep to the ntpdate or ntpd scripts, or using 
something like:


Home | Main Index | Thread Index | Old Index