dig.1m (2010 09)

d
dig(1M) dig(1M)
(BIND 9.3)
+[no]additional
Display [do not display] the additional section of a reply. The default is
+additional.
+[no]adflag
Set [do not set] the AD (authenticate data) bit in the query. The AD bit currently has a stan-
dard meaning only in responses and not in queries. The ability to set the bit in the query is
provided for completeness. The default is
+noadflag.
+[no]all Set [clear] all display flags. The default is
+all.
+[no]answer
Display [do not display] the answer section of a reply. The default is
+answer.
+[no]authority
Display [do not display] the authority section of a reply. The default is
+authority.
+[no]besteffort
Attempt [do not attempt] to display the contents of messages that are malformed. The default
is +nobesteffort
.
+bufsize=B
Set the UDP message buffer size advertised using Extended DNS ( EDNS) to B bytes. The
maximum and minimum sizes of this buffer are 65535 and 0, respectively. If the B size is
specified outside of this range, then the size is adjusted appropriately. The default is 2048.
+[no]cdflag
Set [do not set] the CD (checking disabled) bit in the query, which requests the server not to
perform DNSSEC validation of responses. The default is
+nocdflag.
+[no]cl Display [do not display] the CLASS when printing the record. The default is
+cl.
+[no]cmd Display [do not display] an initial comment in the output identifying the version of
dig and
the command-line arguments that were specified. The default is
+cmd.
+[no]comments
Display [do not display] comment lines in the output. The default is +comments.
+[no]defname
Deprecated; treated as a synonym for +[no]search. The default is +nodefname
.
+[no]dnssec
Request DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the
additional section of the query. The default is
+nodnssec.
+domain=somename
Set the default domain to somename as if specified in a domain directive in the
/etc/resolv.conf file, and enable search list processing as if the
+search option were
given. If this is not used, the query has to contain a fully qualified domain name (FQDN) for
forward lookup.
+[no]fail
Do not try [try] the next server if you receive a SERVFAIL. The default is +fail, which is the
reverse of normal stub resolver behavior.
+[no]identify
Show [do not show] the IP address and port number that supplied the answer when short form
answers are requested with the +short query option. The default is +noidentify.
+[no]ignore
Ignore [do not ignore] truncation in UDP responses instead of retrying with TCP. The default
is +noignore (perform TCP retries).
+[no]multiline
Print [do not print] records like the SOA records in a verbose multiline format with human-
readable comments. The default is +nomultiline: print each record on a single line,
thereby facilitating machine parsing of the dig output.
+ndots=D
Set the number of dots (periods) that appear in hostname to D. The default for D is the value
given in the ndots statement in /etc/resolv.conf,or1 if there is no ndots statement.
Names with fewer dots are interpreted as relative names and will be searched for in the
domains listed in the search or the domain directive in the /etc/resolv.conf file.
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3