Re: [chrony-users] nts in Chrony 4.0

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


On 06/11/2020 17:00, Miroslav Lichvar wrote:
On Fri, Nov 06, 2020 at 11:26:38AM +0100, Andrew wrote:
chrony.conf:

server nts.ntp.se:4460 nts iburst
server nts.sth1.ntp.se:4460 nts iburst
server nts.sth2.ntp.se:4460 nts iburst
That :4460 is ntpsec's syntax. It doesn't work in chrony. It would try
to resolve the whole string as a hostname, which won't work. 4460 is
the default NTS-KE port, it doesn't need to be specified. (There is
the ntsport option if you needed to specify a non-standard port.)

Thanks for that.  Took away the port number and it all works fine.  I realised that I got that from Netnods webpage where they explain how to configure ntpd for nts.  I just took their example code for the server specifications and pasted it into chrony.conf:

https://www.netnod.se/time-and-frequency/how-to-use-nts

the example shows :3443 but the text below explains that the port has changed.


Thanks for your help.


/Andrew



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