summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/doc/ntpdate.8
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-17 10:50:35 +0000
committerpav <pav@FreeBSD.org>2006-05-17 10:50:35 +0000
commitf5ea3c23eaf321245a4848f01bdc61a5ddcda598 (patch)
tree3e9b61c5702a9b1471d294df7473c07af95b2c0a /usr.sbin/ntp/doc/ntpdate.8
parent537a82e24b165d002f904dd1bbc454533a2021cd (diff)
downloadFreeBSD-src-f5ea3c23eaf321245a4848f01bdc61a5ddcda598.zip
FreeBSD-src-f5ea3c23eaf321245a4848f01bdc61a5ddcda598.tar.gz
- Update to ntp-4.2.0
PR: docs/79857 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'usr.sbin/ntp/doc/ntpdate.8')
-rw-r--r--usr.sbin/ntp/doc/ntpdate.819
1 files changed, 16 insertions, 3 deletions
diff --git a/usr.sbin/ntp/doc/ntpdate.8 b/usr.sbin/ntp/doc/ntpdate.8
index 8d4b6d3..f361f17 100644
--- a/usr.sbin/ntp/doc/ntpdate.8
+++ b/usr.sbin/ntp/doc/ntpdate.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 6, 2000
+.Dd May 17, 2006
.Dt NTPDATE 8
.Os
.Sh NAME
@@ -9,7 +9,7 @@
.Nd set the date and time via NTP
.Sh SYNOPSIS
.Nm
-.Op Fl bBdoqsuv
+.Op Fl 46bBdoqsuv
.Op Fl a Ar key
.Op Fl e Ar authdelay
.Op Fl k Ar keyfile
@@ -56,6 +56,12 @@ the interval between runs.
.Pp
The following options are available:
.Bl -tag -width indent
+.It Fl 4
+Force DNS resolution of following host names on the command line to the
+IPv4 namespace.
+.It Fl 6
+Force DNS resolution of following host names on the command line to the
+IPv6 namespace.
.It Fl a Ar key
Enable the authentication function and specify the key
identifier to be used for authentication as the argument
@@ -239,10 +245,17 @@ an alternative to running a daemon, doing so once every hour or two
will result in precise enough timekeeping to avoid stepping the
clock.
.Pp
+Note that in contexts where a host name is expected, a
+.Fl 4
+qualifier preceding the host name forces DNS resolution to the
+IPv4 namespace, while a
+.Fl 6
+qualifier forces DNS resolution to the IPv6 namespace.
+.Pp
If NetInfo support is compiled into
.Nm ,
then the
-.Ic server
+.Cm server
argument is optional if
.Nm
can find a
OpenPOWER on IntegriCloud