diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-18 04:17:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-18 04:17:07 +0000 |
commit | 06b1f4f397d53e9a4c9abe4c8c4c20a7240e7736 (patch) | |
tree | 05b93d967f6a946a7e0e2395399405c4ec12e3a9 /doc/s6-tcpclient.html | |
parent | df6d3fae47a106b70dd9e073d0e60989cd182f79 (diff) | |
download | s6-networking-06b1f4f397d53e9a4c9abe4c8c4c20a7240e7736.tar.xz |
/etc/hosts support for s6-tcpclient and s6-tcpserver-access
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-tcpclient.html')
-rw-r--r-- | doc/s6-tcpclient.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/s6-tcpclient.html b/doc/s6-tcpclient.html index 0ec9220..0421524 100644 --- a/doc/s6-tcpclient.html +++ b/doc/s6-tcpclient.html @@ -28,7 +28,7 @@ then executes into a program. <h2> Interface </h2> <pre> - s6-tcpclient [ -q | -Q | -v ] [ -4 | -6 ] [ -d | -D ] [ -r | -R ] [ -h | -H ] [ -n | -N ] [ -t <em>timeout</em> ] [ -l <em>localname</em> ] [ -T <em>timeoutconn</em> ] [ -i <em>localip</em> ] [ -p <em>localport</em> ] <em>host</em> <em>port</em> <em>prog...</em> + s6-tcpclient [ -q | -Q | -v ] [ -4 | -6 ] [ -d | -D ] [ -r | -R ] [ -h ] [ -H ] [ -n | -N ] [ -t <em>timeout</em> ] [ -l <em>localname</em> ] [ -T <em>timeoutconn</em> ] [ -i <em>localip</em> ] [ -p <em>localport</em> ] <em>host</em> <em>port</em> <em>prog...</em> </pre> <ul> @@ -98,10 +98,13 @@ IDENT protocol. This is obsolete and unreliable, and should only be used for compatibility with legacy programs. </li> <li> <tt>-R</tt> : do not use the IDENT protocol. This is the default. </li> - <li> <tt>-h</tt> : try and obtain the remote host name via DNS. -This is the default. </li> - <li> <tt>-H</tt> : do not try and obtain the remote host name -via DNS. </li> + <li> <tt>-h</tt> : Consult the <tt>/etc/hosts</tt> database before +performing DNS queries. The default, when this option is not given, is to +ignore <tt>/etc/hosts</tt>. The <tt>-H</tt> option overrides <tt>-h</tt> and +voids any kind of lookup. </li> + <li> <tt>-H</tt> : do not try and obtain the local or remote host names +via DNS. The default, when this option is not given, is to look up the +local and remote host IPs in the DNS database to get the corresponding names. </li> <li> <tt>-n</tt> : qualify <em>host</em> when resolving it to find suitable IP addresses. This is the default. </li> <li> <tt>-N</tt> : do not qualify <em>host</em>. </li> |