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?
>

Reply via email to