systemd-timesyncd 守护程序反复尝试联系以下硬编码(编译)时间服务器,如果既没有手动指定 NTP 服务器也没有通过 DHCP 接收:
0.debian.pool.ntp.org
1.debian.pool.ntp.org
2.debian.pool.ntp.org
3.debian.pool.ntp.org
由于我在公司代理后面操作,因此永远无法成功访问这些服务器。有没有办法防止这种无意义的轮询(无需重新编译)?
最佳答案
您可以(现在)configure timesyncd在 /etc/systemd/timesyncd.conf
中使用另一个 NTP 服务器:
NTP=your_corporate_internal_time_server
大多数公司网络都有其中之一,尤其是在阻止 ntp 流量时。 它通常类似于 time.corp_domain.com 或 ntp.corp_domain.com。
关于linux - 停止 timesyncd 轮询硬编码的 Debian 时间服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43093636/