Hi

> Delaying the start of Dnsmasq until NTP runs introduces other problems.
> NTP depends on the Internet connection working, so if the WAN link is
> down, that'll mean that internal DNS is also down.

Try using chrony - it has much better handling of no internet cases. I
have managed to use it right at the start of boot instead of using hwclock

If you don't have an RTC then a poor mans solution is to "occasionally"
set some file mtime to a current time, then early in boot you restore
the file based on the file time.  Clearly it's always wrong, but it is
at least increasing and you can minimise the amount you step back in
time.  Gentoo openrc has an initscript called swclock which implements
this if you want a leg up

Good luck

Ed W

Reply via email to