On Sun, Mar 10, 2019 at 6:40 PM Tamer Higazi <[email protected]> wrote: > > Mar 11 00:33:37 localhost ntpdate[4553]: Exiting, name server cannot be > used: Temporary failure in name resolution (-3)11 Mar 00:33:37 > ntpdate[4553]: name server cannot be used: Temporary failure in name > resolution (-3)
Ok, you didn't mention what you're using for a network manager. How is the network interface being configured in the first place? There are several ways that it is commonly done. Also, what are you using for DNS? In particular, are you running a local DNS server, or are you relying on a network-supplied DNS server? How is /etc/resolv.conf being created (likely by the network manager, but maybe it is being done in another way). ntpdate by default depends on network-online.target and not on nss-lookup.target, which can sometimes lead to issues if you're running a DNS server that isn't online when the network is online (such as a local server). -- Rich

