Commit graph

106 commits

Author SHA1 Message Date
Automatic Updater
beb9fabda3 update copyright notice 2007-08-28 07:20:06 +00:00
Evan Hunt
fe274526fd When running in batch mode, dig could misinterpret a server address as a
name to be looked up, causing unexpected output. [RT #16743]
2007-04-24 06:49:52 +00:00
Automatic Updater
a4a729b991 update copyright notice 2007-02-26 23:46:23 +00:00
Mark Andrews
c5e73c64c0 2141. [bug] dig/host should not be setting IDN_ASCCHECK (IDN
equivalent of LDH checks).  [RT #16609]
2007-02-26 00:37:03 +00:00
Mark Andrews
229050d932 2114. [bug] dig/host/nslookup: searches for names with multiple
labels were failing. [RT #16447]
2006-12-07 06:08:02 +00:00
Mark Andrews
1b7613fe00 2107. [bug] dighost.c: more cleanup of buffers. [RT #16499] 2006-12-07 01:27:22 +00:00
Mark Andrews
5209cedf01 2091. [port] dighost.c: race condition on cleanup. [RT #16417] 2006-10-02 03:14:35 +00:00
Mark Andrews
deaa25fd63 update copyright notice 2006-01-27 23:57:45 +00:00
Mark Andrews
65fdd79a50 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:50:51 +00:00
Mark Andrews
b8f09dec6c 1917. [func] dig now warns if 'RA' is not set in the answer when
'RD' was set in the query.  host/nslookup skip servers
                        that fail to set 'RA' when 'RD' is set unless a server
                        is explicitly set.  [RT #15005]
2005-08-25 00:43:26 +00:00
Mark Andrews
e6b2687c12 1915. [func] dig now has a '-q queryname' and '+showsearch' options.
[RT #15034]
2005-08-25 00:21:01 +00:00
Mark Andrews
a5b6bcc58f 1894. [func] dig: report the number of extra bytes still left in
the packet after processing all the records.

1893.   [cleanup]       dighost.c: move external declarations into <dig/dig.h>.
2005-07-04 03:11:00 +00:00
Mark Andrews
02ff44e8ef sync w/ head 2005-06-22 22:05:50 +00:00
Mark Andrews
fd2d42320c remove #define ROOTNS 1 2005-06-19 22:46:19 +00:00
Mark Andrews
ee1c0b612a 1879. [func] Added framework for handling multiple EDNS versions.
1878.   [func]          dig can now specify the EDNS version when making
                        a query.
2005-06-07 00:18:08 +00:00
Rob Austein
372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews
494efe97c7 update copyright notice 2005-03-31 23:59:41 +00:00
Mark Andrews
6bc2b1e3f6 1841. [bug] "dig +nssearch" now makes a recursive query to
find the list of nameservers to query. [RT #13694]
2005-03-31 02:37:24 +00:00
Mark Andrews
b8b92cc855 1748. [func] dig now returns the byte count for axfr/ixfr. 2004-10-21 01:44:35 +00:00
Mark Andrews
fb24d33f0a 1715. [func] 'dig +trace' now randomly selects the next servers
to try.  Report if there is a bad delegation.
2004-10-07 02:21:16 +00:00
Mark Andrews
4a381a30fb 1714. [bug] dig/host/nslookup were only trying the first
address when a nameserver was specified by name.
                        [RT #12286]
2004-09-06 01:32:30 +00:00
Rob Austein
3aa419673c 1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core. 2004-06-19 02:48:18 +00:00
Mark Andrews
d76583dcde 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:01:28 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
974f1d7b49 pass the size of the result buffer in get_reverse 2003-07-25 04:02:54 +00:00
Mark Andrews
743ffc91bd 1484. [bug] The number of records reported after a AXFR was wrong.
[RT #6229]

1483.   [bug]           dig axfr failed if the message id failed to match
                        that in the request.  Only the id in the first message
                        is require to match. [RT #8138]
2003-07-17 07:42:00 +00:00
Danny Mayer
b31e7ab885 Modifications to have dighost.c use liblwres to parse the resolv.conf file. Updates to dig, host and nslookup to increase modularity and use more functions in dighost.c 2002-08-12 18:25:25 +00:00
Mark Andrews
ec3984e9df 1339. [func] dig, host and nslookup now use IP6.ARPA for nibble
lookups.  Bit string lookups are no longer attempted.
2002-07-25 05:46:07 +00:00
Mark Andrews
a483e67c4c 1210. [func] "dig axfr" now reports the number of messages
as well as the number of records.
2002-05-29 05:31:05 +00:00
Bob Halley
678be98a63 ok, the prototypes really *do* agree totally now! 2001-10-04 07:02:28 +00:00
Bob Halley
f216f79834 make prototype of get_reverse() match the code 2001-10-04 06:56:37 +00:00
Danny Mayer
cddaf5def3 Change macro RESOLVCONF to RESOLV_CONF. This allows Win32 to pick up the real location of resolv.conf through ntpaths.c. Otherwise location defaults to Unix location [RT #1833] 2001-10-04 03:20:23 +00:00
Andreas Gustafsson
9066d09c3e 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-10-01 18:54:05 +00:00
Andreas Gustafsson
cad3210bb9 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]
2001-08-29 18:57:28 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Brian Wellington
a0d965e7b1 comments 2001-07-28 01:01:02 +00:00
Brian Wellington
d0de20156a Make +trace work. More cleanup. 2001-07-28 00:11:15 +00:00
Brian Wellington
f9521c63ea minor cleanup 2001-07-27 05:26:38 +00:00
Andreas Gustafsson
1a77d17120 minor style fixes 2001-02-17 01:05:30 +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
Andreas Gustafsson
ff6e7b684a commented 2001-02-14 01:34:26 +00:00
Ben Cottrell
354f4f1ab2 Fixed RT #727 and #780. 2001-02-13 23:12:17 +00:00
Andreas Gustafsson
b4876b6ddf simplify dig/host/nslookup code by using the _format() functions in
more places; fix spacing issues; make nslookup print debugging details
for all lookup results, not just those with rcode==0; add comments
2001-01-24 19:28:34 +00:00
Andreas Gustafsson
688a4c50c2 More searchlist/domain handling fixes. Dig/host/nslookup no longer
have the notion that there can be both a search list and a default
domain at the same time.  The resolv.conf "domain" directive is now
used only if there is no "search" directive, and is treated exacly
like a one-element searchlist. The "+domain" option of dig and the
"set domain" command of nslookup are now merely ways of overriding the
resolv.conf search list.  Parents of the name given in the "domain"
directive are still not searched; this is considered a feature and is
consistent with lwres, but different from the BIND 8 resolver. The
"+defname" option to "dig" is now deprecated and treated as a synonym
for "+search"
2001-01-18 05:12:44 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Michael Sawyer
cc7732e129 RT#528 fixed 2000-12-08 17:06:52 +00:00
Michael Sawyer
ddba67ddb9 Allow user to specify more than ~65000 retries in dig. 2000-11-21 21:40:12 +00:00
Michael Sawyer
789145979d Add bounds checking to various dig options 2000-11-21 20:55:00 +00:00
Brian Wellington
78d78f05d9 556. [func] The DNSSEC OK bit in the EDNS extended flags
is now implemented.  Responses to queries without
                        this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Michael Sawyer
04ab4ecb27 Remove name limits and counter from dig; there's no obvious way to count
names out of message_parse when PRESERVE_ORDER is set.
2000-11-08 00:47:18 +00:00