# etcntpconf configuration for ntpd; see ntpconf5 for helpdriftfile varlibntpntpdrift# Leap seconds definition provided by tzdataleapfile usrsharezoneinfoleap-secondslist# Enable this if you want stat
这是一个ntp.conf的配置文件,用于设置ntpd。其中包括以下内容:
- driftfile:指定ntp.drift文件的路径,用于记录系统时钟的漂移量。
- leapfile:指定闰秒列表文件的路径。
- statistics:指定日志文件的路径和类型,用于记录ntp服务器的统计信息。
- server:指定一个或多个ntp服务器的地址。
- pool:指定一个ntp服务器池的地址。
- restrict:指定访问控制规则,限制对ntp服务器的访问。
- broadcast:指定广播地址,用于向本地子网提供时间服务。
- disable auth:禁用身份验证,使得ntp服务器可以接收广播时间信号。
- fudge:用于调整ntp服务器的时间,以适应硬件上的误差。
原文地址: https://www.cveoy.top/t/topic/eCNe 著作权归作者所有。请勿转载和采集!