--- src/contrib/ntpd/Attic/ntpd.conf.5 2004/11/09 20:05:42 1.1 +++ src/contrib/ntpd/Attic/ntpd.conf.5 2004/11/09 21:29:34 1.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ntpd.conf.5,v 1.7 2004/07/13 19:51:38 jmc Exp $ +.\" $OpenBSD: src/usr.sbin/ntpd/ntpd.conf.5,v 1.9 2004/11/08 19:09:19 otto Exp $ .\" .\" Copyright (c) 2003, 2004 Henning Brauer .\" @@ -30,13 +30,14 @@ Empty lines and lines beginning with the .Sq # character are ignored. .Pp -The possible keywords are as follows: +Keywords may be specified multiple times within the configuration file. +They are as follows: .Bl -tag -width Ds .It Ic listen on Ar address Specify a local IP address or a hostname the .Xr ntpd 8 daemon should listen on. -It can appear multiple times: +If it appears multiple times, .Xr ntpd 8 will listen on each given address. If @@ -55,7 +56,10 @@ listen on ::1 .It Ic server Ar address Specify the IP address or the hostname of an NTP server to synchronize to. -If the hostname resolves to multiple IPv4 and/or IPv6 addresses, +If it appears multiple times, +.Xr ntpd 8 +will try to synchronize to all of the servers specified. +If a hostname resolves to multiple IPv4 and/or IPv6 addresses, .Xr ntpd 8 uses the first address. If it does not get a reply, @@ -67,10 +71,17 @@ For example: server 10.0.0.2 server ntp.example.org .Ed +.Pp +To provide redundancy, it is good practice to configure multiple servers. +In general, best accuracy is obtained by using servers that have a low +network latency. .It Ic servers Ar address As with .Cm server , specify the IP address or hostname of an NTP server to synchronize to. +If it appears multiple times, +.Xr ntpd 8 +will try to synchronize to all of the servers specified. Should the hostname resolve to multiple IP addresses, .Xr ntpd 8 will try to synchronize to all of them.