Create sockets only in selected family with -4 or -6 option

This commit is contained in:
Miroslav Lichvar
2013-05-20 15:34:33 +02:00
parent 51a2d8dfd8
commit 72d0b3c913
7 changed files with 35 additions and 17 deletions

View File

@@ -1097,9 +1097,11 @@ supported only on Linux.
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.
With this option hostnames will be resolved only to IPv4 addresses and only
IPv4 sockets will be created.
@item -6
With this option hostnames will be resolved only to IPv6 addresses.
With this option hostnames will be resolved only to IPv6 addresses and only
IPv6 sockets will be created.
@end table
On systems that support an @file{/etc/rc.local} file for starting