Re: [chrony-users] Using only pre-configured NTP servers or server list from DHCP |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Using only pre-configured NTP servers or server list from DHCP
- From: Rob Janssen <chrony-users@xxxxxxxxx>
- Date: Tue, 3 May 2022 18:48:01 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=pe1chl.nl; s=pe1chl; t=1651596486; bh=Ts1ZwWZ6yCS9i3nWTJ0Cn78YJ3rQ39h/ndiHV+BTygE=; h=Date:Subject:To:References:From:In-Reply-To:From; b=OB4O6tu0vM9nSjohQ3sjJUsm/0zOKS3KWLMBE6X9AU0R5u8azD32QUoBQ7aSwGshp MTil2XFNdH3HPjeOvT7ThvTX9XWbiPdzZtUBOkKrXyunqZHamakhktHcPg47QX6hWA qMiojis6WIL1mHRRVZiXyx25f4ZaOGmuBzsLGU/1gDavOrjojk2YcvCmh3Mf/xr4Al OLQsfFTJLkpe2vA7L/WuT+ZtnxKF+X9OHlr8jp6G4f7OuGhv+naBYLk+2MoC35C4m6 dnnq2Nuct7JUYtkCP61tIlhRtUu2xLzGx7IBGtQtocWqG6cgsKJiJpIZb7B8+hPb7T hOsLZPRYPDdaA==
- Organization: PE1CHL
Such config changes are made by scripts in the dhcp client configuration, which you can modify
as you wish. Of course check what files are overwritten on package upgrades and see what countermeasures
you need to take.
Rob
On 5/3/22 18:17, Bryan Evenson wrote:
> I have a default chrony.conf for some headless devices that has a list of default NTP servers to use. These devices will also pull the NTP server list from the DHCP server if the DHCP server provides. Overall this works. The DHCP client appends the additional NTP servers to chrony.conf as expected. However, from my understanding chrony will then use any of the NTP servers listed in chrony.conf. I have a customer request that chrony would use only the NTP servers provided by the DCHP client. I'm trying to figure out what my options are to make this happen.
>
> Is there any way in chrony.conf to say, "ignore any NTP servers listed above"? Or, is there a way to use multiple configuration files. For example, chrony.conf is the base configuration, then tell it to use either chrony_defaultservers.conf or chrony_dhcpservers.conf? Or does someone have any other methods that they have implemented that I haven't considered?
>
> Thanks,
> Bryan
>
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.