addresses can be identified by the presence of colons ":" in the
address field. IPv6 addresses can be used almost everywhere where
IPv4 addresses can be used, with the exception of reference clock
-addresses, which are always IPv4. DNS names will resolve with
-preference to IPv4 or IPv6 addresses depending on the host system's
-resolver library. See IPv6 references for the equivalent classes
-for that address family.</p>
+addresses, which are always IPv4.</p>
+
+<p>Note that in contexts where a host name is expected, a <tt>-4</tt>
+qualifier preceding the host name forces DNS resolution to the IPv4
+namespace, while a <tt>-6</tt> qualifier forces DNS resolution to the
+IPv6 namespace. See IPv6 references for the equivalent classes for
+that address family.</p>
<dl>
<dt><tt>server <i>address</i> [key <i>key</i> | autokey] [burst]
<tt>maxpoll <i>maxpoll</i></tt></dt>
<dd>These options specify the minimum and maximum poll intervals
-for NTP messages, in seconds to the power of two. The maximum poll
+for NTP messages, in seconds as a power of two. The maximum poll
interval defaults to 10 (1,024 s), but can be increased by the <tt>
maxpoll</tt> option to an upper limit of 17 (36.4 h). The minimum
poll interval defaults to 6 (64 s), but can be decreased by the
if the default ntp.conf file cannot be read and no file is
specified by the <tt>-c</tt> option.</p>
+<p>In contexts where a host name is expected, a <tt>-4</tt> qualifier
+preceding the host name forces DNS resolution to the IPv4
+namespace, while a <tt>-6</tt> qualifier forces DNS resolution to the
+IPv6 namespace.</p>
+
<p>Various internal <tt>ntpd</tt> variables can be displayed and
configuration options altered while the <tt>ntpd</tt> is running
using the <tt><a href="ntpq.htm">ntpq</a></tt> and <tt><a href=
<h4>Command Line Options</h4>
<dl>
+<dt><tt>-4</tt></dt>
+
+<dd>Force DNS resolution of following host names to the IPv4
+namespace.</dd>
+
+<dt><tt>-6</tt></dt>
+
+<dd>Force DNS resolution of following host names to the IPv6
+namespace.</dd>
+
<dt><tt>-a</tt></dt>
<dd>Enable authentication mode (default).</dd>
<dd>Specify the name and path of the configuration file. (Disable
netinfo?)</dd>
-
-
<dt><tt>-d</tt></dt>
<dd>Specify debugging mode. This flag may occur multiple times,
will result in precise enough timekeeping to avoid stepping the
clock.</p>
+<p>Note that in contexts where a host name is expected, a <tt>-4</tt>
+qualifier preceding the host name forces DNS resolution to the IPv4
+namespace, while a <tt>-6</tt> qualifier forces DNS resolution to the
+IPv6 namespace.</p>
+
<p>If NetInfo support is compiled into <tt>ntpdate</tt>, then the
<tt>server</tt> argument is optional if <tt>ntpdate</tt> can find a
time server in the NetInfo configuration for <tt>ntpd</tt>.</p>
<h4>Command Line Options</h4>
<dl>
+<dt><tt>-4</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv4 namespace.</dd>
+
+<dt><tt>-6</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv6 namespace.</dd>
+
<dt><tt>-a <i>key</i></tt></dt>
<dd>Enable the authentication function and specify the key
both the remote program and local server share a common key and key
identifier.</p>
+<p>Note that in contexts where a host name is expected, a <tt>-4</tt>
+qualifier preceding the host name forces DNS resolution to the IPv4
+namespace, while a </tt>-6</tt> qualifier forces DNS resolution to the
+IPv6 namespace.</p>
+
<h4>Command Line Options</h4>
Specifying a command line option other than <tt>-i</tt> or <tt>
input.
<dl>
+<dt><tt>-4</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv4 namespace.</dd>
+
+<dt><tt>-6</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv6 namespace.</dd>
+
<dt><tt>-c <i>command</i></tt></dt>
<dd>The following argument is interpreted as an interactive format
the remote host is not heard from within a suitable timeout
time.</p>
+<p>Note that in contexts where a host name is expected, a <tt>-4</tt>
+qualifier preceding the host name forces DNS resolution to the IPv4
+namespace, while a </tt>-6</tt> qualifier forces DNS resolution to the
+IPv6 namespace.</p>
+
<p>For examples and usage, see the <a href="debug.htm">NTP
Debugging Techniques</a> page.</p>
interactive format commands from the standard input.</p>
<dl>
+<dt><tt>-4</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv4 namespace.</dd>
+
+<dt><tt>-6</tt></dt>
+
+<dd>Force DNS resolution of following host names on the command
+line to the IPv6 namespace.</dd>
+
<dt><tt>-c</tt></dt>
<dd>The following argument is interpreted as an interactive format
command and is added to the list of commands to be executed on the
specified host(s). Multiple <tt>-c</tt> options may be given.</dd>
+<dt><tt>-d</tt></dt>
+
+<dd>Turn on debugging mode.</dd>
+
<dt><tt>-i</tt></dt>
<dd>Force <tt>ntpq</tt> to operate in interactive mode. Prompts
and receive timestamps are saved, as required by the NTP protocol,
and processing continues.</p>
-
<p>The <tt>flash</tt> bits for each test are defined as
follows.</p>