Document -4 and -6 options

This commit is contained in:
Miroslav Lichvar 2009-11-09 14:35:39 +01:00
parent fe2cfe1fae
commit 9716a2ed7e
3 changed files with 23 additions and 2 deletions

View 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

View file

@ -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

View file

@ -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