]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Document -4 and -6 options
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 9 Nov 2009 13:35:39 +0000 (14:35 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 9 Nov 2009 13:35:39 +0000 (14:35 +0100)
chrony.texi
chronyc.1
chronyd.8

index 38df68a3b050c0b7108564bc282c6130828e7f5e..396d41958e89b0c4820c078610f48c52dd0c85cc 100644 (file)
@@ -1093,6 +1093,10 @@ supported only on Linux.
 @item -m     
 This option will lock chronyd into RAM so that it will never be paged
 out.  This mode is only supported on Linux.
+@item -4
+With this option hostnames will be resolved only to IPv4 addresses.
+@item -6
+With this option hostnames will be resolved only to IPv6 addresses.
 @end table
 
 On systems that support an @file{/etc/rc.local} file for starting
@@ -2472,6 +2476,10 @@ This option allows the user to specify the UDP port number which the
 target @code{chronyd} is using for its command & monitoring connections.
 This defaults to the compiled-in default; there would rarely be a need
 to change this.
+@item -4
+With this option hostnames will be resolved only to IPv4 addresses.
+@item -6
+With this option hostnames will be resolved only to IPv6 addresses.
 @end table
 @c }}}
 @c {{{ SS:Security with chronyc
index 53e8d6940a6adb452887e0f3c7eba5cfb6bbf75c..1edcdb075ce6bed6c43544d572a9721a2bbddd2a 100644 (file)
--- a/chronyc.1
+++ b/chronyc.1
@@ -31,13 +31,20 @@ specify port-number
 .TP
 \fB\-n\fR
 display raw IP addresses (don't attempt to look up hostnames)
-.TP \fIcommand\fR
+.TP
+\fB\-4\fR
+resolve hostnames only to IPv4 addresses
+.TP
+\fB\-6\fR
+resolve hostnames only to IPv6 addresses
+.TP
+\fIcommand\fR
 specify command.  If no command is given, chronyc will read commands
 interactively.
 
 
 .SH VERSION
-1.17
+1.24
 
 .SH BUGS
 To report bugs, please contact the author and/or visit \fIhttp://chrony.tuxfamily.org
index e4b94fac5346f627db37d52234530f4d16577ad5..6e49759c8d521f8b8c95c02152db0c7b0c64a4de 100644 (file)
--- a/chronyd.8
+++ b/chronyd.8
@@ -94,6 +94,12 @@ user.  So far, it works only on Linux when compiled with capabilities support.
 .TP
 .B \-v
 This option displays \fBchronyd\fR's version number to the terminal and exits
+.TP
+.B \-4
+Resolve hostnames only to IPv4 addresses.
+.TP
+.B \-6
+Resolve hostnames only to IPv6 addresses.
 
 .SH FILES
 \fI/etc/chrony.conf\fR