aboutsummaryrefslogtreecommitdiff
path: root/bin/dig/dig.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dig/dig.docbook')
-rw-r--r--bin/dig/dig.docbook10
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook
index 89d766b541cb..53ab0c6e9f3c 100644
--- a/bin/dig/dig.docbook
+++ b/bin/dig/dig.docbook
@@ -624,7 +624,8 @@
are interpreted as relative names and will be searched
for in the domains listed in the <option>search</option>
or <option>domain</option> directive in
- <filename>/etc/resolv.conf</filename>.
+ <filename>/etc/resolv.conf</filename> if
+ <option>+search</option> is set.
</para>
</listitem>
</varlistentry>
@@ -731,6 +732,13 @@
<filename>resolv.conf</filename> (if any). The search
list is not used by default.
</para>
+ <para>
+ 'ndots' from <filename>resolv.conf</filename> (default 1)
+ which may be overridden by <parameter>+ndots</parameter>
+ determines if the name will be treated as relative
+ or not and hence whether a search is eventually
+ performed or not.
+ </para>
</listitem>
</varlistentry>