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

dig(8) OSS Shell and Utilities Reference Manual
When an incremental zone transfer (IXFR) is required, set type to ixfr=N. The
incremental zone transfer contains the changes made to the zone since the serial
number in the zones SOA record was N.
-x addr Simplies reverse lookups (mapping addresses to names). addr is an IPv4
address in dotted-decimal notation, or a colon-delimited IPv6 address.
When this ag is used, you do not need to provide the name, class, and type
arguments. dig automatically performs a lookup for a name like
11.12.13.10.in-
addr.arpa and sets the query type and class to PTR and IN respectively. By
default, IPv6 addresses are looked up using nibble format under the IP6.ARPA
domain. To use the older RFC1886 method using the IP6.INT domain, specify
the -i ag.
Bit string labels (RFC2874) are experimental and are not attempted.
-y name:key Signs DNS queries sent by dig and their responses using transaction signatures
(TSIG), where name is the name of the TSIG key and key is the actual key. The
key is a base-64 encoded string, typically generated by the dnssec-keygen util-
ity. Be cautious when using the -y ag on multi-user systems because the key
can be visible in the output from the ps command or in the shells history le.
When using TSIG authentication with dig, the name server that is queried needs
to know the key and algorithm that is being used. In BIND 9, this is done by
providing appropriate key and server statements in the named.conf le.
You can also sign the DNS queries sent by dig and their responses using transac-
tion signatures (TSIG) byspecing a TSIG key le using the -k ag.
-4 | -6 The -4 ag forces dig to only use IPv4 query transport. The -6 ag forces dig to
only use IPv6 query transport.
Arguments
global_queryopt and queryopt
dig provides query options that affect the way in which lookups are made and
the results displayed. Some of these set or reset ag bits in the query header,
some determine which sections of the answer get printed, and others determine
the timeout and retry strategies. Each query option is identied by a keyword
preceded by a plus sign (+).
Some keywords set or reset an option; these can be preceded by the string no to
negate the meaning of that keyword.
Other keywords assign values to options like the timeout interval; these have the
form +keyword=value.
The query options are:
+[no]tcp Use [do not use] TCP when querying name servers. The default
behavior is to use UDP unless an AXFR or IXFR query is
requested, in which case a TCP connection is used.
+[no]vc Use [do not use] TCP when querying name servers. This alter-
nate syntax to +[no]tcp provides backwards compatibility. vc
stands for "virtual circuit".
128 Hewlett-Packard Company 527188-007