summaryrefslogtreecommitdiff
path: root/doc/s6-dnsip4.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-07-12 17:13:42 +0000
committerLaurent Bercot <ska@appnovation.com>2023-07-12 17:13:42 +0000
commitecbc657934249a2642ed542a9544a7ef5ea84021 (patch)
tree3ea8a2bcdc829c63231f0dfdacea8b35b5779ca8 /doc/s6-dnsip4.html
parent207845f50a8fb54fe8e584928078dc3687399caf (diff)
downloads6-dns-ecbc657934249a2642ed542a9544a7ef5ea84021.tar.xz
Update documentation
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-dnsip4.html')
-rw-r--r--doc/s6-dnsip4.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/s6-dnsip4.html b/doc/s6-dnsip4.html
index d650ec9..ad29c7d 100644
--- a/doc/s6-dnsip4.html
+++ b/doc/s6-dnsip4.html
@@ -25,7 +25,7 @@
<h2> Interface </h2>
<pre>
- s6-dnsip4 [ -q ] [ -r ] [ -t <em>timeout</em> ] <em>domain</em>
+ s6-dnsip4 [ -q ] [ -H | -h ] [ -r ] [ -t <em>timeout</em> ] <em>domain</em>
</pre>
<ul>
@@ -51,6 +51,12 @@ environment variable is set and contains a list of suffixes separated by spaces,
tabs, newlines or carriage returns, then this list is used instead. By
default, no qualification is used: if <em>domain</em> is not a FQDN, a dot
is just appended to it. </li>
+ <li> <tt>-H</tt>&nbsp;: do not use data from <tt>/etc/hosts</tt>. This is
+the default. </li>
+ <li> <tt>-h</tt>&nbsp;: use data from <tt>/etc/hosts</tt>, if available.
+If there's a compiled <tt>/etc/hosts.cdb</tt> file that is newer than <tt>/etc/hosts</tt>,
+it will be used instead. (See
+<a href="s6-dns-hosts-compile.html">s6-dns-hosts-compile</a> for details.) </li>
<li> <tt>-r</tt>&nbsp;: random. By default, the program does not sort the
result, but prints them in the order received from the DNS. With this
option, it performs a random permutation on the results before printing