OpenNTPD做时间服务器注意事项

在OpenBSD环境下搭建各种服务器的相关讨论。

版主: lionuxchenjun天地乾坤

回复
f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

OpenNTPD做时间服务器注意事项

帖子 f5b » 2012-07-27 18:35

/etc/ntpd.conf
如果打开以下参数做时间服务器
listen on *

必须等/var/log/daemon里面出现
ntpd [????] clock is now synced

客户端才可以同步时间。

Windows中,输入内网Openntpd服务器地址,点“立即更新”,Windows 7 只需3秒就同步成功,而Windows XP 需要15秒以上。


以下问题在misc中发问:)
OpenNTPD as NTP server problem and the manual


1.
Only after OpenNTPD server log(/var/log/daemon) display "ntpd [????] clock is now synced"
NTP client can now sync time successful.

Should manual in ntpd & ntpd.conf mention this for hurry man?

2.
OpenNTPD server in local net(192.168.0.1)

Windows 7 client sync time successful from 192.168.0.1 within 3s,
Windows 7 client sync time successful from time.windows.com within 3s,

.vs.

Windows XP client sync time successful from 192.168.0.1 need more than 15s,
Windows XP client sync time successful from time.windows.com within 3s.

Why? May OpenNTPD improve?


-
kern.version=OpenBSD 5.2 (GENERIC.MP) #365: Tue Jul 24 09:39:12 MDT 2012

[email][email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP[/email]

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 0 访客