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

Re: ntpdate: Can't find host 0.debian.pool.ntp.org



staticsafe <me <at> staticsafe.ca> writes:

> 
> On 4/17/2014 20:43, Amit wrote:
> > Name or service not known (-2)
> 
> Sounds like you have/had DNS issues. Perhaps the resolver(s) in
> /etc/resolv.conf were unresponsive?
> 

Thanks.

I think I may have found the issue. ntpdate is being called twice.

First, it is called by if-up.d hook. At this point, the network
interface is up but no ip address.

Second, it is called from dhclient-exit-hooks.d/. By this time, it has
already acquired an ip address.

I guess I should remove the hook from if-up.d.


Reply to: