" +[no]tls-keyfile=file (Load client TLS "
"private key from file)\n"
" +[no]trace (Trace delegation down "
- "from root "
- "[+dnssec])\n"
+ "from root [implies +dnssec])\n"
" +tries=### (Set number of UDP "
"attempts) [3]\n"
" +[no]ttlid (Control display of ttls "
switch (cmd[1]) {
case 'e': /* defname */
FULLCHECK("defname");
+ fprintf(stderr, ";; +[no]defname option is "
+ "deprecated; use +[no]search\n");
if (!lookup->trace) {
usesearch = state;
}
goto invalid_option;
}
break;
- case 'm': /* multiline */
+ case 'm':
switch (cmd[1]) {
case 'a':
FULLCHECK("mapped");
- fprintf(stderr, ";; +mapped option is deprecated");
- break;
+ fatal("+mapped option no longer supported");
case 'u':
FULLCHECK("multiline");
lookup->multiline = state;
break;
case 'i': /* sigchase */
FULLCHECK("sigchase");
- fprintf(stderr, ";; +sigchase option is deprecated");
- break;
+ fatal("+sigchase option no longer supported");
case 'p': /* split */
FULLCHECK("split");
if (value != NULL && !state) {
break;
case 'o':
FULLCHECK("topdown");
- fprintf(stderr, ";; +topdown option is deprecated");
- break;
+ fatal("+topdown option no longer supported");
case 'r':
switch (cmd[2]) {
case 'a': /* trace */
break;
case 'u': /* trusted-key */
FULLCHECK("trusted-key");
- fprintf(stderr, ";; +trusted-key option is "
- "deprecated");
- break;
+ fatal("+trusted-key option "
+ "no longer supported");
default:
goto invalid_option;
}
switch (cmd[2]) {
case 'e':
FULLCHECK("unexpected");
- fprintf(stderr, ";; +unexpected option "
- "is deprecated");
- break;
+ fatal("+unexpected option "
+ "no longer supported");
case 'k':
FULLCHECK("unknownformat");
lookup->print_unknown_format = state;
default:
goto invalid_option;
}
- break;
- default:
- goto invalid_option;
}
-
break;
case 'v':
FULLCHECK("vc");
exit(0);
break;
case 'i':
- /* deprecated */
- break;
+ fatal("-%c removed", option[0]);
case 'm': /* memdebug */
/* memdebug is handled in preparse_args() */
break;
case 'n':
- /* deprecated */
- break;
+ fatal("-%c removed", option[0]);
case 'r':
debug("digrc (late)");
digrc = false;
This option performs [or does not perform] a search showing intermediate results.
-.. option:: +sigchase, +nosigchase
-
- This feature is now obsolete and has been removed; use :iscman:`delv`
- instead.
-
.. option:: +split=W
This option splits long hex- or base64-formatted fields in resource records into
server TLS certificate verification. Otherwise, the DNS server name
is used. This option has no effect if :option:`+tls-ca` is not specified.
-.. option:: +topdown, +notopdown
-
- This feature is related to :option:`dig +sigchase`, which is obsolete and
- has been removed. Use :iscman:`delv` instead.
-
.. option:: +trace, +notrace
- This option toggles tracing of the delegation path from the root name servers for
- the name being looked up. Tracing is disabled by default. When
- tracing is enabled, :program:`dig` makes iterative queries to resolve the
- name being looked up. It follows referrals from the root servers,
- showing the answer from each server that was used to resolve the
- lookup.
+ This option toggles tracing of the delegation path from the root name
+ servers for the name being looked up. Tracing is disabled by default.
+ When tracing is enabled, :program:`dig` makes iterative queries to
+ resolve the name being looked up. It follows referrals from the root
+ servers, showing the answer from each server that was used to resolve
+ the lookup.
If ``@server`` is also specified, it affects only the initial query for
the root zone name servers.
- :option:`+dnssec` is also set when :option:`+trace` is set, to better emulate the
- default queries from a name server.
+ :option:`+dnssec` is set when :option:`+trace` is set, to better
+ emulate the default queries from a name server.
+
+ Note that the ``delv +ns`` option can also be used for tracing the
+ resolution of a name from the root (see :iscman:`delv`).
.. option:: +tries=T
instead of the default, 3. If ``T`` is less than or equal to zero,
the number of tries is silently rounded up to 1.
-.. option:: +trusted-key=####
-
- This option formerly specified trusted keys for use with :option:`dig +sigchase`. This
- feature is now obsolete and has been removed; use :iscman:`delv` instead.
-
.. option:: +ttlid, +nottlid
This option displays [or does not display] the TTL when printing the record.