Hi, everyone.
Quick question: is there a way to set up NTP Server on RouterOS using name address instead of IP address?
Also on RoS 6.48.3 and earlierYes - 7.1beta6 feature.
Proof:
{
:local ntpServer1 "0.uk.pool.ntp.org"
:local ntpServer2 "1.uk.pool.ntp.org"
:local primary [resolve $ntpServer1]
:local secondary [resolve $ntpServer2]
/system ntp client set enabled=yes primary-ntp=$primary secondary-ntp=$secondary
}
/system ntp client
set primary-ntp=[:resolve "0.pool.ntp.org"] secondary-ntp=[:resolve "1.pool.ntp.org"]
Not a problem:some link to this websites (please on english if possible)?No offence, but it looks like You know nothing on a subject. If You did, You would know that recommendation I mentioned before was from official sites. It's on USA website as well as on PL, and i bet You could find it on other websites too.
Sorry I think I misunderstood - you mean simplify the script, I thought you meant it could be done without the script."Why complicate things..."
is for short 5 commands on only clear one....