[chrony-dev] Idea: Leapsecond info via DNS |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Idea: Leapsecond info via DNS
- From: Rune Magnussen <rune@xxxxxxxxx>
- Date: Wed, 14 Sep 2016 23:32:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=knus.info; s=mail; t=1473888776; bh=Q1XdKcyPn5IrvprPHXBVoqkRLARni1oGa9xWpbw/d3U=; h=Date:From:To:Subject; b=azow/pBQgPo/4owaDoKQ/w6jEKdnenzNbIpj7q+qdCNeIEp5agX03e81cEKAvJ01b LScFw+ohMSDQh5IronTCJ+hWiPyOY6fIbq2G2cpeCAVbT1gxTQWHzSdbF6w1FYtLLt GiTUNBA+z0rkaw/Muqk9xCbyUFQqzLAR4koJPm5w=
Hi
Poul-Henning Kamp has implemented a system to get leapsecond
information via DNS. I wonder if it is feasible to use in chronyd. The
benefit would be that there is no need to download and update
leapsecond files. On the other hand it adds a dependency on another
service. PHK has made a reference implementation in the form of a test
program here:
http://www.freebsd.dk/time/20151122.html
The DNS service is still up to date.
I found the CRC stuff somewhat confusing, but the field has a value so
when the entire packet is fed through the algorithm then the result
modulo 0x80 is zero for valid responses.
I have not looked close enough at the chronyd code to see where or how
it could be implemented, but I think chronyd should only make the DNS
lookup at startup and then perhaps once a week. At least the DNS server
should not be overloaded. With a long interval measured from startup
time I guess it is OK.
What do you think?
Kind regards Rune
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.