如果我运行的ntp (通过ntp.conf)受到严格限制,我就不能为服务器使用一个池。为什么?因为对限制的调用(允许对池的访问)似乎是另一个DNS查找,它返回的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地址。
发布于 2014-01-21 06:03:19
使用内置的source别名/指令/任何东西:
restrict source nomodify notrap noquery包括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#restrict
https://stackoverflow.com/questions/17978897
复制相似问题