Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

dig(8) OSS Shell and Utilities Reference Manual
+[no]identify Show [do not show] the IP address and port number that sup-
plied the answer when the +short option is enabled. If short
form answers are requested, the default is to not show the source
address and port number of the server that provided the answer.
+[no]comments
Display [do not display] comment lines in the output. The
default is to print comments.
+[no]stats Print [do not print] statistics such as: when the query was made,
the size of the reply, and so on. The default behavior is to print
the query statistics.
+[no]qr Print [do not print] the query as it is sent. By default, the query
is not printed.
+[no]question Print [do not print] the question section of a query when an
answer is returned. The default is to print the question section as
a comment.
+[no]answer Display [do not display] the answer section of a reply. The
default is to display it.
+[no]authority Display [do not display] the authority section of a reply. The
default is to display it.
+[no]additional
Display [do not display] the additional section of a reply. The
default is to display it.
+[no]all Set [or clear] all display ags.
+time=t1 Set the timeout for a query to t1 seconds. The default timeout is
5 seconds. An attempt to set t1 to less than 1 results in a query
timeout of 1 second being applied.
+tries=t2 Set the number of times to try UDP queries to a server to t2
instead of the default, 3. If t2 is less than or equal to 0 (zero),
the number of tries is silently rounded up to 1.
+retry=t3 Set the number of times to retry UDP queries to a server to t3
instead of the default, 2. Unlike +tries, this does not include the
initial query.
+ndots=d Set the number of dots that have to appear in name to d for it to
be considered an absolute name. The default value is that
dened using the ndots statement in the /etc/resolv.conf le, or
1ifnondots statement is present.
Names with fewer dots are interpreted as relative names and are
searched for in the domains listed in the search or domain
directive in the /etc/resolv.conf le.
+bufsize=b Set the UDP message buffer size advertised using EDNS0 to b
bytes. The maximum and minimum sizes of this buffer are
65535 and 0 respectively. Values outside this range are rounded
up or down appropriately.
1210 Hewlett-Packard Company 527188-007