Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] start ntpdate after network....
Date: Sun, 10 Mar 2019 22:55:49
Message-Id: CAGfcS_nuFargz=fxO-34O4znxye+SQLW=a+H4C2TeWsqvowk1Q@mail.gmail.com
In Reply to: Re: [gentoo-user] start ntpdate after network.... by Tamer Higazi
1 On Sun, Mar 10, 2019 at 6:40 PM Tamer Higazi <th982a@××××××××××.com> wrote:
2 >
3 > Mar 11 00:33:37 localhost ntpdate[4553]: Exiting, name server cannot be
4 > used: Temporary failure in name resolution (-3)11 Mar 00:33:37
5 > ntpdate[4553]: name server cannot be used: Temporary failure in name
6 > resolution (-3)
7
8 Ok, you didn't mention what you're using for a network manager. How
9 is the network interface being configured in the first place? There
10 are several ways that it is commonly done.
11
12 Also, what are you using for DNS? In particular, are you running a
13 local DNS server, or are you relying on a network-supplied DNS server?
14 How is /etc/resolv.conf being created (likely by the network manager,
15 but maybe it is being done in another way).
16
17 ntpdate by default depends on network-online.target and not on
18 nss-lookup.target, which can sometimes lead to issues if you're
19 running a DNS server that isn't online when the network is online
20 (such as a local server).
21
22 --
23 Rich

Replies

Subject Author
Re: [gentoo-user] start ntpdate after network.... Neil Bothwick <neil@××××××××××.uk>