Re: [chrony-users] Simple DHCP support

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


Oh come on Bill, STOP STOP STOP.
You have no clue what you are talking about, and you make subscribers unsubscribing in disgust.
(and others rolling on the floor laughing :-)

There is no DNS involved, it is a DHCP option.
And YES, many routers support that option.
They run an NTP (sometimes SNTP) service and offer time to LAN clients that are
interested in it.
And capable network admins admins set it up in their dhcpd config.
The original poster is aware of that and want to use that.
Stop denying that such a thing exists and is useful.

And I already explained how it fits together in at least the Debian distribution, probably
others.  The "sourcedir" directive in chrony provides the hook.
(in older distributions you will often find that a script /etc/dhclient-exit-hooks.d/ntp copies
the chrony.conf to some temp location, adds server line(s) for the received NTP server
addresses, and (re)starts chrony with the supplied config file)

Rob

On 2024-08-09 22:55, Bill Unruh wrote:
> Yes, it is an option. And many dns servers do not supply it. And I assume that
> you have to code those into the DNS server -- it does not go looking for them
> itself. It is also pretty "non-linux"-- ie, one program to accomplish one task. Those
> options really look like someone's pantry-- ie stick in anything that someone
> might be interested in. Anyway we have gone off track. AFAIK chrony nor Linux
> boot do not supply those informations to the respective programs without some
> helper program ( which the OP seems to want to be hard coded into chrony).
>
>
> William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273
> Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324
> UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx
> Canada V6T 1Z1 ____|____ and Gravity ______|_    theory.physics.ubc.ca/
>
> On Fri, 9 Aug 2024, Andrei Borzenkov wrote:
>
>> [CAUTION: Non-UBC Email]
>>
>> On 09.08.2024 23:05, Bill Unruh wrote:
>>>  Well, lets look at, for example
>>>  https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top
>>>
>>>  Note that there is no mention of NTP  or time server in that document at
>>>  all
>>>
>>>
>>
>> Thank you. You made my day.
>>
>> https://datatracker.ietf.org/doc/html/rfc2132#section-8.3
>>
>>
>> -- 
>> 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.
>>
>>
>>
>


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