Ntpd.conf updates from dhcp-options
Bryan Stenson <[email protected]> Sat, 20 Jun 2026 11:02:23 -0700
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <CAOrHn-+a1T+UYbs7z85g7HmwWnQAn54SNVpaK69oEtWk9bz-Vg@mail.gmail.com> |
Using OpenBSD as a dhcp client on a network....curious if anyone has prior art updating ntpd.conf with NTP server details (ie, https://man.openbsd.org/man5/dhcp-options.5#option~57) as provided by the dhcp server. Looks like there isn't support for "include ..." in ntpd.conf, nor forcing ntpd to reload config (via sighup, etc) So, I'm thinking of generating a new ntpd.conf, and restarting ntpd when a new lease is acquired. Anyone else solve this? Bryan