Hacker News new | ask | show | jobs
by bombcar 1821 days ago
I cheat and have an authoritative NTP server locally and then override dns for pool.ntp.org and friends.

Then at least if I’m off we’re all off together.

2 comments

> I cheat and have an authoritative NTP server locally and then override dns for pool.ntp.org and friends.

Generally if you've made the effort to have internal recursive DNS server(s) for your network, then just enable NTPd or chrony as well and have a single source of Time Truth for your network.

Point to ≥4 NTP servers, even using pool.ntp.org, and you probably don't have to worry about false ticker(s) either.

For bonus points, hook up a GPS with a PPS output to the local one so it's stratum 1.
I do this, with all the trimmings (running in kernel space, PTP simulation, etc). I appreciate that a good estimation of the time inside the non-deterministic OS is being made, but I haven't quite wrapped my head around what it means to extract the time from that non-deterministic OS.

How big is that unmeasured error?

I do this at home with a Pi, it was a fun project.