Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 17:46:36 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Yasuhiro Kimura <yasu@utahime.org>, freebsd-ports@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: How to make 'named' rc script invokded earlier at boot time
Message-ID:  <127e4bc7-cd2c-01e9-f1ca-aa4440e82ba2@grosbein.net>
In-Reply-To: <20210430.163054.429403798691966830.yasu@utahime.org>
References:  <20210430.163054.429403798691966830.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
30.04.2021 14:30, Yasuhiro Kimura wrote:
> I installed dns/bind916 on my home server and configured it so it
> worked as both authoritative and recursor. Then I added
> 'nameserver 127.0.0.1' to /etc/resolv.conf and everything worked fine.
> 
> But after updating OS from 12.2-RELEASE to 13.0-RELEASE I noticed
> execution of some rc scripts fails at boot time because of DNS lookup
> error. And I also found these scripts are executed earlier than
> 'named'.
> 
> Now let me use 'ntpdate' as an example.

named sometimes *requires* correct time to be set before it is started,
so you should either use some IP addressess for NTP bootstrapping at boot time,
or put NTP server hostname to /etc/hosts with its IP, so it resolves before named fires.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?127e4bc7-cd2c-01e9-f1ca-aa4440e82ba2>