Community discussions

MikroTik App
 
rzirzi
Member
Member
Topic Author
Posts: 393
Joined: Mon Oct 09, 2006 2:33 pm

Feature request: NTP client: canonical name of NTP servers

Tue Oct 20, 2020 10:15 pm

MikroTik Team, please introduce that feature at next releases - to be possibility to input cannonical names of NTP servers - not changed to IP addresse. I would like to put into "Primary NTP Server" and "Secondary NTP Server" name like: time.windows.com - not to be translated to IP addresse.
Last edited by rzirzi on Wed Oct 21, 2020 8:56 am, edited 1 time in total.
 
felodimul
just joined
Posts: 11
Joined: Wed Aug 12, 2020 5:59 pm

Re: Feature request: NTP client: canonical name of NTP servers

Wed Oct 21, 2020 5:41 am

A good suggestion!

If you disable the ntp package and reboot, you’ll find System > SNTP, which does what you want as an NTP client.

However, if you want to use the NTP server, you need the ntp package. In this case, you can schedule a script to resolve a new IP address, as discussed here:

https://blog.ligos.net/2018-01-29/NTP-P ... rotik.html
 
rzirzi
Member
Member
Topic Author
Posts: 393
Joined: Mon Oct 09, 2006 2:33 pm

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 11:24 am

MikroTik TEAM - could We expect that feature at next releases of RouterOS?
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1348
Joined: Mon Sep 23, 2019 1:04 pm

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 11:47 am

What feature? Some arrow to point you to the right menu?
snipntp1.PNG
You do not have the required permissions to view the files attached to this post.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 1:10 pm

What feature? Some arrow to point you to the right menu?
This behaviour changes once you install the ntp package, which provides the ntp server functionality. The possibility to configure reference servers as fqdns then disappears.
 
tdw
Forum Guru
Forum Guru
Posts: 1851
Joined: Sat May 05, 2018 11:55 am

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 1:11 pm

What feature? Some arrow to point you to the right menu?
As mentioned in an earlier post the SNTP client is fine, however upon installing the NTP package to provide a local NTP server the replacement NTP client still only accepts IP addresses, not names.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 1:23 pm

SNTP client only queries servers for correct time, updates router's time and exits/sleeps until next time. And due to that, SNTP client can resolve FQDN every time it makes connection. NTP server, OTOH, is kind of stateful. Which means that it follows server's performance and thus has to send subsequent queries to same server(s).

BTW, behaviour of NTP servers (e.g. under linux) is the same: it resolves FQDNs of servers at start (can use multiple servers if they are used in pool manner), but then sticks to same servers until it restarts.

Indeed it would be nice if we could configure NTP servers by entering FQDN (so that IP addresses update after a few years of operation without need to manually update IP addresses), but it would not affect the way NTP server works. But due to the way NTP server works probably MT devels considered this feature of low importance/priority.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1348
Joined: Mon Sep 23, 2019 1:04 pm

Re: Feature request: NTP client: canonical name of NTP servers

Sat Nov 14, 2020 2:41 pm

He didn't mention if he needs the NTP package, I stand by my reply until then :P

Who is online

Users browsing this forum: aivik, Bing [Bot], Google [Bot], jajo10, johnson73, Kuwait and 99 guests