HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
d
dig(1M) dig(1M)
is provided for completeness.
+[no]cdflag
Set [or do not set] the CD (checking disabled) bit in the query. This requests the server not to
perform DNSSEC validation of responses.
+[no]recursive
Set [or do not set] the RD (recursion desired) bit in the query. This bit is set by default, which
means dig normally sends recursive queries. Recursion is automatically disabled when the
+nssearch or +trace query options are used.
+[no]nssearch
Attempt [or do not attempt] to find the authoritative name servers for the zone containing the
name being looked up and display the SOA record that each name server has for the zone.
+[no]trace
Trace [or do not trace] the delegation path from the root name servers for the name being
looked up. Tracing is disabled by default. When tracing is enabled,
dig makes iterative
queries to resolve the name that is being looked up. It will follow referrals from the root
servers, showing the answer from each server that was used to resolve the lookup.
+[no]cmd +
[no]comment dig and the query options that have been applied. The comment is included
in the answer section by default.
+[no]short
Display [or do not display] a short answer. The query results can be displayed in two forms:
Complete and Short answers. In the short form, only the result will be displayed whereas in
the complete form, additional information (like info about other servers that might answer
your query) is also included. By default, the answer is printed in a verbose form.
+[no]identify
Show [or do not show] the IP address and port number that supplied the answer when the
+short option is enabled. If short form answers are requested, source address and port
number of the server that provided the answer are not shown by default.
+[no]comments
Display [or do not display] comment lines in the output. By default, the comments are printed.
+[no]stats
Print [or do not print] statistics such as the size of the reply when the query was made. By
default, the query characteristics are printed.
+[no]qr Print [or do not print] the query before actually sending the query. By default, the query is
not printed.
+[no]question
Print [or do not print] the question section of a query when an answer is returned. By default,
the question section is printed as a comment.
+[no]answer
Display [or do not display] the answer section of a reply. By default, the answer section is
printed.
+[no]authority
Display [or do not display] the authority section of a reply. By default, the authority section is
displayed.
+[no]additional
Display [or do not display] the additional section of a reply. By default, the additional section
is displayed.
+[no]multiline
Print records like the SOA records in a verbose multi-line format with human-readable com-
ments. The default is to print each record on a single line, thereby facilitating machine parsing
of the dig output.
+[no]all Set or clear all display flags.
+time=T Set the timeout for a query to T seconds. The default timeout is 5 seconds, and 1 second is the
minimum value to which T can be set. Even if you try setting T to a value less than 1, T will
be set to 1 second.
Section 1M−−142 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: September 2004