NTP未正确处理池服务器上的限制



如果我运行的ntp(通过ntp.conf)受到严格限制,我就不能为服务器使用池。为什么?因为限制(允许访问池)的调用似乎是另一个DNS查找,它返回的IP值与最初调用服务器时使用的IP值不同。请告诉我这件事我错了。

粗略示例(ntp.conf的一部分):

server 0.debian.pool.ntp.org iburst
restrict default ignore
restrict -6 default ignore
restrict 0.debian.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery

这不起作用(我认为),因为对0.debian.pool.ntp.org的DNS调用返回不同的IP地址,因此通过(名称不正确)限制允许使用错误的IP地址。

使用内置的source别名/指令/anthe:

restrict source nomodify notrap noquery

更新dd以包括source:的文档

restrict source configures a template restriction automatically added
at runtime for each association, whether configured, ephemeral, or
preemptible, and removed when the association is demobilized.

发件人:http://www.eecis.udel.edu/~mills/ntp/html/accopt.html#限制

最新更新