Technical data

dig
Table A–1 (Cont.) dig Options
Option Description
"-P"
After query returns, executes a
ping
command to
compare response times. This option issues the following
command:
$ MCR TCPIP$PING "-C" 3 server_name
Use quotation marks to preserve the case of this option.
-t query-type
Type of query. Specifies either an integer value to
be included in the type field, or uses the abbreviated
mnemonic (such as
mx
).
-c query-class
Class of query. Specifies either an integer value to
be included in the class field, or use the abbreviated
mnemonic (such as
in
).
+<query-option>
Use the plus (+) character to specify an option to be changed in the query packet
or to change
dig
output specifics. Many of these options are the same options
accepted by
nslookup
. If an option requires a parameter, use the following
format:
+ keyword [=value]
Most keywords can be abbreviated. Parsing of the ‘‘+’ options is very simplistic—
a value must not be separated from its keyword by any spaces. The following
keywords are currently available:
Keyword Abbreviation Default Description
[no] debug deb deb
Turn on/off debugging mode.
[
no
]
d2 nod2
Turn on or off extra debugging
mode.
[
no
]
recurse rec rec
Use or do not use recursive lookup.
retry=# ret 4
Set number of retries to #.
time=# ti 4
Set timeout length to # seconds.
[
no
]
ko noko
Keep open option (implies
vc
).
[
no
]
vc novc
Use or do not use virtual circuit.
no defname def def
Use or do not use default domain
name.
[
no
]
search sea sea
Use or do not use domain search
list.
domain=NAME do
Set default domain name to
NAME.
[
no
]
ignore i noi
Ignore or do not ignore truncation
errors.
[
no
]
primary pr nopr
Use or do not use primary server.
no aaonly aa noaa
Authoritative query only flag.
[
no
]
cmd cmd
Echo parsed arguments.
Troubleshooting Utilities Reference A–7