Commit 2fbbf1e4 authored by Petr Menšík's avatar Petr Menšík

Document return codes of dig

Dig tool reports some states as exit status. Document them shortly.
parent e9a1cabe
......@@ -1395,6 +1395,39 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</para>
</refsection>
<refsection><info><title>RETURN CODES</title></info>
<para>
<command>Dig</command> return codes are:
<variablelist>
<varlistentry>
<listitem>
<para>0: DNS response received, including NXDOMAIN status</para>
</listitem>
</varlistentry>
<varlistentry>
<listitem>
<para>1: Usage error</para>
</listitem>
</varlistentry>
<varlistentry>
<listitem>
<para>8: Couldn't open batch file</para>
</listitem>
</varlistentry>
<varlistentry>
<listitem>
<para>9: No reply from server</para>
</listitem>
</varlistentry>
<varlistentry>
<listitem>
<para>10: Internal error</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsection>
<refsection><info><title>FILES</title></info>
<para><filename>/etc/resolv.conf</filename>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment