Richard B. Gilbert wrote: > Danny Mayer wrote: >> Richard B. Gilbert wrote: >> >>> Is there an ntpd equivalent to ntpdate -du <server address>? >>> >> >> >> ntpd -gq >> >> with optional -c conffile if you don't want to use your default config >> file. Make sure you have iburst on the server lines and don't bother >> with either multicasting or broadcasting. >> >> Danny >> _______________________________________________ >> questions mailing list >> [email protected] >> https://lists.ntp.isc.org/mailman/listinfo/questions >> > > Danny, > > I don't think that's equivalent!! > > ntpdate -du does NOT set the clock, it merely reports what it would > have done had it been asked to set the clock. That's the -d. The -u > causes it to use an unprivileged port so you can run it while ntpd is > running. Those options are useful for getting a peek at a server's > notion of the correct time without configuring the server or affecting > your clock in any way. >
What about reftime in the ntpq -c rv query? > It's clearly possible for an otherwise sane server to produce an insane > reply. The case in point was easily detectable by looking at your > calendar but this is the first such case I've encountered in something > like three years of following this newsgroup. > There are several unusual things about that server including IPv6-only nameservers. Danny _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
