1 .\" $OpenBSD: ntpd.conf.5,v 1.7 2004/07/13 19:51:38 jmc Exp $
3 .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN
14 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15 .\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 .Nd Network Time Protocol daemon configuration file
24 This manual page describes the format of the
27 It has the following format:
29 Empty lines and lines beginning with the
31 character are ignored.
33 The possible keywords are as follows:
35 .It Ic listen on Ar address
36 Specify a local IP address or a hostname the
38 daemon should listen on.
39 It can appear multiple times:
41 will listen on each given address.
44 is given as an address,
46 will listen on all local addresses.
48 does not listen on any address by default.
50 .Bd -literal -offset indent
55 .It Ic server Ar address
56 Specify the IP address or the hostname of an NTP
57 server to synchronize to.
58 If the hostname resolves to multiple IPv4 and/or IPv6 addresses,
60 uses the first address.
61 If it does not get a reply,
63 retries with the next address and continues to do so until a working address
66 .Bd -literal -offset indent
68 server ntp.example.org
70 .It Ic servers Ar address
73 specify the IP address or hostname of an NTP server to synchronize to.
74 Should the hostname resolve to multiple IP addresses,
76 will try to synchronize to all of them.
78 .Bd -literal -offset indent
83 .Bl -tag -width "/etc/ntpd.confXXX" -compact
94 file format first appeared in