Rotate NTP servers
Last updated
Was this helpful?
Last updated
Was this helpful?
RouterOS requires NTP servers to be configured by IP address. Servers from a pool may appear and disappear, leaving broken NTP configuration.
This script allows to rotate IP addresses from a given pool.
Just install the script:
The configuration goes to global-config-overlay
, this is the parameter:
NtpPool
: dns name of ntp server pool
Just run the script to update the NTP configuration with actual IP addresses from pool if required.
Alternatively a scheduler can be created: