Kevin Darbyshire-Bryant <[email protected]> wrote: > > I don’t have a magic patch for this problem. It seems to me > that ideally busybox ntpd shouldn’t serve time until it has > sync’d. A horrible hack idea: firewall rule to drop incoming > ntp requests from clients… have an ntpd hotplug script that > captures the stratum change event and removes the firewall > rules. And/or ntpd has a new command line switch implemented > that does the same thing ie. ignore ntp requests until sync’d. > > Failing that, maybe you really can’t have DNS and time at the > same time ;-) Now where did I put that chicken…...
The freshly released busybox 1.28 has a number of DNS related
fixes for NTP btw.
ntpd: do run the script at least once in 11 minutes
ntpd: improve treatment of DNS resolution failures
ntpd: mention in help text that -d can be repeated
ntpd: perform DNS resolution out of send/receive loop. Closes 10466
ntpd: skip over setting next DNS resolution attempt if it is not needed
Cheers,
Karl P
signature.html
Description: OpenPGP Digital Signature
_______________________________________________ Lede-dev mailing list [email protected] http://lists.infradead.org/mailman/listinfo/lede-dev
