Re: [chrony-users] Simple DHCP support for chrony

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


In many Linux distributions, there is some link between the DHCP client and the Chrony configuration.
E.g. on my Debian system, the chrony configuration file has:

sourcedir /run/chrony-dhcp

and the DHCP client puts a server line in a file in that directory when the client obtains a DHCP
server address.

Chrony then picks that up automatically.

Rob

On 2024-08-09 16:18, Jan Claußen wrote:
From what I've seen it is not easily possible to query NTP servers via DHCP. I have found some scripts online from which this one is the most simple one

https://github.com/systemd/systemd/issues/19230#issuecomment-1972125246
Isn't it possible though to just add a feature that chrony searches for NTP servers itself?




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/