Re: [chrony-users] Does chrony support the DHCP option ntp-servers?

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


On Tue, Mar 31, 2020 at 02:09:13AM +0200, Holger Hoffstätte wrote:
> On 3/31/20 1:18 AM, Jason W. Lewis wrote:
> > I’m looking at using chrony on our network for the first time, and
> > want it to accept the ntp-servers DHCP option.  Does it?  And if so,
> > how?  I haven’t seen any documentation showing how to do this, so I
> > suspect it’s not supported, but at the same time, nothing says it
> > doesn’t either,  so I wanted to be sure.
> That's something you would configure in your DHCP server, not chrony.
> chrony just hands out the time; the DHCP server is the one pointing clients
> at your chrony server(s).

I think the question was about the client side of DHCP.

chronyd doesn't know anything about DHCP, but it can be configured at
run time with NTP servers provided by DHCP using chronyc. In some
distributions (e.g. Fedora, Debian/Ubuntu, OpenSUSE) there is a
chrony-helper script and a NetworkManager or dhclient dispatcher
script, which runs the helper script when DHCP provided the client
with some NTP servers.

-- 
Miroslav Lichvar


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


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