我遇到了一个指定池指令的 ntp.conf 文件:
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
pool 0.ubuntu.pool.ntp.org
pool 1.ubuntu.pool.ntp.org
pool 2.ubuntu.pool.ntp.org
pool 3.ubuntu.pool.ntp.org
Run Code Online (Sandbox Code Playgroud)
然而,它在同一个文件中也有服务器指令,我更熟悉。
阅读有关池的信息,我发现它是用来代替服务器的。您应该使用其中一种。
但是,如果 ntp.conf 两者都有会发生什么?一组是否优先于另一组,还是将全部使用?
这是在 Ubuntu 14.04 上,ntpd 是版本 4.2.6p5。