Commit graph

249 commits

Author SHA1 Message Date
Mark Andrews
a09e55f624 update copyrights 2004-03-06 10:22:54 +00:00
Mark Andrews
0e3e5cb3e5 1554. [bug] dig, host, nsloolup failed when no nameservers
were specified in /etc/resolv.conf. [RT #8232]
2004-01-12 03:43:00 +00:00
Mark Andrews
25a60b1d80 sync with HEAD 2003-10-15 05:32:25 +00:00
Mark Andrews
388732593d cleanup spaces before semicolons. 2003-09-24 03:47:21 +00:00
Mark Andrews
984d0d58e9 1368. [func] remove support for bitstring labels. 2003-08-20 05:33:18 +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
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
72ceb8a6cc pullup:
@Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2003-08-08 03:40:09 +00:00
Mark Andrews
70ad8bd808 1003. [func] Add the +retry option to dig. 2003-08-04 02:19:12 +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
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
3e7a76892a 1484. [bug] The number of records reported after a AXFR was wrong.
[RT #6229]

1483.   [bug]           dig axfr failed if the message id in the answer failed
                        to match that in the request.  Only the id in the first
                        message is required to match. [RT #8138]
2003-07-17 07:46:55 +00:00
Mark Andrews
8d39478fe7 1219. [bug] Set AI_ADDRCONFIG when looking up addresses
via getaddrinfo() (affects dig, host, nslookup, rndc
                       and nsupdate).
2003-05-15 01:17:55 +00:00
Mark Andrews
aa0064c141 1384. [bug] host was incompatible with BIND 8 in its exit code and
in the output with the -l option.  [RT #3536]
2003-05-12 05:17:32 +00:00
Mark Andrews
e2cb5eecb0 reviewed: gson
1352.   [bug]           dig, host, nslookup when falling back to TCP use the
                        current search entry (if any). [RT #3374]
2002-08-06 02:40:11 +00:00
Mark Andrews
cac1899bda reviewed: bwelling
1272.   [bug]           Dig, host and nslookup were not checking the address
                        the answer was coming from against the address it was
                        sent to. [RT# 2692]
2002-07-10 04:44:50 +00:00
Mark Andrews
385535aed8 reviewed: bwelling
1209.   [bug]           Dig, host, nslookup were not checking the message ids
                        on the responses. [RT #2454]
2002-07-10 04:37:55 +00:00
Andreas Gustafsson
a07532875f pullup:
1193.   [bug]           Best effort parsing didn't handle packet truncation.
2002-02-19 22:13:00 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Andreas Gustafsson
e2352fb8cd pullup:
995.   [bug]           dig, host, nslookup: using a raw IPv6 address as a
                        target address should be fatal on a IPv4 only system.
2002-01-24 18:42:29 +00:00
Andreas Gustafsson
c9114f35c0 belated pullup:
1123.   [bug]           dig +[no]fail did not match description. [RT #2052]
2001-11-28 23:29:13 +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
Mark Andrews
e301648774 pullup:
In several places, dighost.c called cancel_lookup() and then called
requeue_lookup() on the canceled lookup.  Because cancel_lookup()
resets the retry count of the lookup to zero, the requeued lookups
would not be retried at all (for example, in the case of UDP NS
queries executed when doing "dig +search") or, in the case of TCP
queries, retried indefinitely since the unsigned retry count of zero
was subsequently decremented, causing it to wrap around to the largest
unsigned integer value.
2001-10-31 23:04:26 +00:00
Brian Wellington
0e71bf20df pullup:
1053.   [bug]           Dig did not increase its timeout when receiving
                        AXFRs unless the +time option was used. [RT #1904]
2001-10-15 23:06:07 +00:00
Mark Andrews
890db7ab7d 1041. [bug] Dig/host/nslookup could catch an assertion failure
on SIGINT due to an uninitialized variable. [RT #1867]
2001-10-11 01:35:37 +00:00
Andreas Gustafsson
e17d517a93 pullup:
1028.   [bug]           On Win32, dig/host/nslookup looked for resolv.conf
                        in the wrong directory. [RT #1833]
2001-10-04 22:05:30 +00:00
Andreas Gustafsson
041153229d pullup:
1017.   [bug]           When specifying TSIG keys to dig and nsupdate using
                        the -k option, they must be HMAC-MD5 keys.  [RT #1810]
2001-09-27 23:30:49 +00:00
Andreas Gustafsson
67adc92106 pullup:
fix a memory leak on a tsig error condition.
2001-09-12 00:15:11 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Mark Andrews
4e400cb7a2 954. [bug] dig, host, nslookup: AXFR / IXFR are inherently
non-recursive, do not set RD.  [RT #1575]
2001-08-06 05:50:20 +00:00
Mark Andrews
c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Brian Wellington
ecc38edf79 make +trace and +nssearch work together 2001-07-29 23:23:42 +00:00
Brian Wellington
3806886c28 oops, dig +nssearch and host -C work again. 2001-07-28 00:55:15 +00:00
Brian Wellington
d0de20156a Make +trace work. More cleanup. 2001-07-28 00:11:15 +00:00
Brian Wellington
57bccaacd0 cleanup 2001-07-27 22:07:10 +00:00
Brian Wellington
0e0e575ec1 unused variables and stuff 2001-07-27 06:11:10 +00:00
Brian Wellington
f3f143f249 simplify TSIG key loading 2001-07-27 05:52:45 +00:00
Brian Wellington
46e349e515 more minor cleanup 2001-07-27 05:41:46 +00:00
Brian Wellington
f9521c63ea minor cleanup 2001-07-27 05:26:38 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Brian Wellington
a81f09d395 oops, host does look at the 'bytes' field. Pass sevent->n, which should be
correct.
2001-07-22 18:09:46 +00:00
Brian Wellington
cfbf09786e The received() function doesn't look at the 'bytes' parameter when doing
an zone transfer, so just pass 0.  [RT #1524]
2001-07-22 18:06:40 +00:00
Danny Mayer
7d4e4d4984 Minor bug fixes to support win32 2001-07-22 06:03:06 +00:00
Andreas Gustafsson
b233a7b9bb include <isc/netdb.h>, not <netdb.h>, as the latter one
may not exist on all platform
2001-07-09 22:02:15 +00:00
Danny Mayer
90947ef585 isc_buffer_putuint16 requires the second arguement to be isc_uint16_t, casting required 2001-06-30 04:43:47 +00:00
Andreas Gustafsson
ea4dc97575 declare launch_next_query() before calling it 2001-06-15 01:26:14 +00:00
Brian Wellington
34d5676aac 903. [bug] dig should not crash when receiving a tcp packet
of length 0.
2001-06-14 21:40:02 +00:00
Andreas Gustafsson
41626c0997 898. [bug] "dig" failed to set a nonzero exit status
on UDP query timeout. [RT #1323]
2001-06-11 18:20:43 +00:00
Andreas Gustafsson
d82fda8358 brace style 2001-06-11 18:08:16 +00:00
Andreas Gustafsson
33d4937a6e actually initialize the uninitialized variable instead of
initializing another variable twice
2001-04-26 17:20:07 +00:00