summaryrefslogtreecommitdiff
path: root/doc/s6-dnsname.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/s6-dnsname.html')
-rw-r--r--doc/s6-dnsname.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/s6-dnsname.html b/doc/s6-dnsname.html
index 4d979d3..63e7e15 100644
--- a/doc/s6-dnsname.html
+++ b/doc/s6-dnsname.html
@@ -25,7 +25,7 @@
<h2> Interface </h2>
<pre>
- s6-dnsname [ -4 | -6 ] [ -r ] [ -t <em>timeout</em> ] <em>ip</em>
+ s6-dnsname [ -4 | -6 ] [ -H | -h ] [ -r ] [ -t <em>timeout</em> ] <em>ip</em>
</pre>
<ul>
@@ -52,6 +52,12 @@ is used instead. </li>
If neither of the <tt>-4</tt> and <tt>-6</tt> is given, or if both are
given, then <em>ip</em> will be interpreted as v4 or v6 depending on
its syntax. </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