diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-11-07 21:42:34 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-11-07 21:42:34 +0000 |
commit | 2a5ef19a50c1886204d46a2df1bb5742624806af (patch) | |
tree | 7b66226ebba73c7609ea10f819f8491c92e503ad /usr.sbin/ntpd/ntpd.conf.5 | |
parent | 03abe633b1330b179d0d7c7bbbe094a456ee5ec3 (diff) |
document that keywords can be specified multiple times;
from otto and myself; prodded by henning;
Diffstat (limited to 'usr.sbin/ntpd/ntpd.conf.5')
-rw-r--r-- | usr.sbin/ntpd/ntpd.conf.5 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/usr.sbin/ntpd/ntpd.conf.5 b/usr.sbin/ntpd/ntpd.conf.5 index 927b1d587b7..55fcecd3d45 100644 --- a/usr.sbin/ntpd/ntpd.conf.5 +++ b/usr.sbin/ntpd/ntpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ntpd.conf.5,v 1.7 2004/07/13 19:51:38 jmc Exp $ +.\" $OpenBSD: ntpd.conf.5,v 1.8 2004/11/07 21:42:33 jmc Exp $ .\" .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> .\" @@ -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, @@ -71,6 +75,9 @@ server ntp.example.org 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. |