Commit Graph

186 Commits

Author SHA1 Message Date
Mark Andrews
43b3490ad6 1610. [bug] On dual stack machines "dig -b" failed to set the
address type to be looked up with "@server".
                        [RT #11069]
2004-04-15 06:49:09 +00:00
Mark Andrews
94ce2c22cc 1609. [func] dig now has support to chase DNSSEC signature chains.
Requires -DDIG_SIGCHASE=1 to be set in STD_CDEFINES.
2004-04-13 03:00:07 +00:00
Mark Andrews
ab6495cba2 1608. [func] dig and host now accept -4/-6 to select IP transport
to use when making queries.
2004-04-13 01:26:26 +00:00
Mark Andrews
23a5e760e2 win32 fixes 2004-03-11 05:58:43 +00:00
Mark Andrews
a09e55f624 update copyrights 2004-03-06 10:22:54 +00:00
Mark Andrews
25a60b1d80 sync with HEAD 2003-10-15 05:32:25 +00:00
Mark Andrews
57b54234cd sizeof style 2003-09-11 00:18:18 +00:00
Mark Andrews
2d7ca109c5 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
2003-08-27 01:39:27 +00:00
Mark Andrews
ff0b6d9f9f 1290. [func] "dig axfr" now reports the number of messages
as well as the number of records.
2003-08-15 02:00:33 +00:00
Mark Andrews
4b2653119b 1278. [func] dig: now supports +[no]cl +[no]ttlid. 2003-08-14 06:40:30 +00:00
Mark Andrews
9052beb238 pullup
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2003-08-11 05:28:23 +00:00
Mark Andrews
2e7d97c5ba 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2003-08-11 04:48:07 +00:00
Mark Andrews
83db215ce0 1110. [bug] dig should only accept valid abbreviations of +options.
[RT #2003]
2003-08-07 05:55:08 +00:00
Mark Andrews
70ad8bd808 1003. [func] Add the +retry option to dig. 2003-08-04 02:19:12 +00:00
Mark Andrews
9627b6edd3 993. [func] dig: -v now reports the version. 2003-08-04 00:23:23 +00:00
Mark Andrews
2a948b5897 969. [func] dig now supports the undocumented dig 8 feature
of allowing arbitrary labels, not just dotted
                        decimal quads, with the -x option.  This can be
                        used to conveniently look up RFC2317 names as in
                        "dig -x 10.0.0.0-127". [RT #827, #1576, #1598]
2003-07-31 04:41:27 +00:00
Mark Andrews
10f78228b6 remove redundant check [RT #8539] 2003-07-30 00:42:25 +00:00
Mark Andrews
1e2d992eaf hide change #969 till 9.3 2003-07-29 04:50:52 +00:00
Mark Andrews
da204aa8be 1496. [protocol] dig, nslookup and host now perform nibble lookups
under IP6.ARPA, use -i for IP6.INT (dig and host).
                        lwres now uses IP6.ARPA.
2003-07-25 04:36:46 +00:00
Mark Andrews
c1df871a18 silence compiler warnings (HPUX/11i) 2003-07-23 06:57:59 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
301d12f35b pullup:
1370.  [bug]           dig '+[no]recurse' was incorrectly documented.
2003-05-12 02:50:15 +00:00
Mark Andrews
0924f3b522 silence compiler 2002-03-12 03:55:57 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Andreas Gustafsson
fff1dbdf55 pullup:
1166.   [bug]           "Not Implemented" should be reported as NOTIMP,
                        not NOTIMPL. [RT #2281]
2002-01-23 17:57:51 +00:00
Mark Andrews
9dfa8979a7 The dig help message did not documents the -b, -k, and +noqr options,
and some options were less than logically grouped [RT #2151]
2001-11-28 04:35:14 +00:00
Mark Andrews
309979a136 pullup:
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +00:00
Andreas Gustafsson
0375d5da0c pullup:
'dig +short' should explicitly enable printing the answer section.
Otherwise, 'dig +noall +short' prints nothing.
2001-09-18 01:04:05 +00:00
Andreas Gustafsson
c54833a8e9 pullup:
987.   [bug]           "dig -help" didn't show "+[no]stats".

 986.   [bug]           "dig +noall" failed to clear stats and command
                        printing.
2001-09-11 01:37:48 +00:00
Mark Andrews
d20b7d6bea silence compiler warnings 2001-08-23 04:39:31 +00:00
Brian Wellington
ecc38edf79 make +trace and +nssearch work together 2001-07-29 23:23:42 +00:00
Brian Wellington
3d388146c6 if both +trace and +nssearch are specified, ignore the second one. 2001-07-28 01:41:28 +00:00
Brian Wellington
d0de20156a Make +trace work. More cleanup. 2001-07-28 00:11:15 +00:00
Brian Wellington
637b4b4392 simplify header printing code. 2001-07-27 06:45:20 +00:00
Brian Wellington
0e0e575ec1 unused variables and stuff 2001-07-27 06:11:10 +00:00
Brian Wellington
f9521c63ea minor cleanup 2001-07-27 05:26:38 +00:00
Brian Wellington
3dba71207f The greeting and stats were printed in some cases when +short was used. 2001-07-18 21:03:54 +00:00
Brian Wellington
22cc4b4e0d fix broken comment 2001-07-01 23:47:49 +00:00
Danny Mayer
f5f40ad6c4 parse_int returns isc_uint32_t, casting required 2001-06-30 04:29:25 +00:00
Brian Wellington
fed846067d 916. [bug] Specifying type ixfr to dig without specifying
a serial number failed in unexpected ways.
2001-06-29 06:06:02 +00:00
Andreas Gustafsson
d82fda8358 brace style 2001-06-11 18:08:16 +00:00
Andreas Gustafsson
8fbd23c0aa 823. [func] The output of "dig -h" now goes to stdout so that it
can easily be piped through "more". [RT #1254]
2001-05-08 15:56:01 +00:00
Brian Wellington
099805b4c1 remove the nonexistent namelimit option and the deprecated rrlimit option. 2001-03-28 03:09:47 +00:00
Brian Wellington
668f8d91db 795. [func] Add the +multiline option to dig.
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Brian Wellington
aa5e0fe0fc spelling 2001-03-14 18:08:17 +00:00
Brian Wellington
e6743c1b25 Don't call get_address when processing "-b address". The address can't be a
host name, and if it's not a valid address, it would call isc_app_block()
and assert since isc_app_run() had not been called yet before calling the
resolver.  This could be seen by running:
	dig @localhost xbill.org -b 127.0.0.1:1111
which now exits with an error.
2001-02-17 20:27:24 +00:00
Andreas Gustafsson
1a77d17120 minor style fixes 2001-02-17 01:05:30 +00:00
Brian Wellington
f22ef00109 fix the potential buffer overflow in printgreeting() [RT #863] 2001-02-15 23:57:22 +00:00
Ben Cottrell
d8dde7c9fb Style fixes per Andreas, functionality fixes per Michael Sawyer.
The printgreeting() stuff is fixed once and for all by the change
to clone_lookup... I think this is the "right" way of doing it.
2001-02-15 23:44:08 +00:00
Ben Cottrell
2caff6b7df Something that I thought was a win turned out to be a lose. I now no longer
even try to restore previous state when someone issues two conflicting
type options.
2001-02-14 01:46:03 +00:00