Mark Andrews
9cc75a3e5b
1554. [bug] dig, host, nsloolup failed when no nameservers
...
were specified in /etc/resolv.conf. [RT #8232 ]
2004-01-12 03:39:29 +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
Michael Graff
49c6fe9bcc
merge rt3892
2002-11-12 23:08:27 +00:00
Tatuya JINMEI 神明達哉
3ac2a99878
further BIND 8 compatiblity changes
...
- made the output and exit code with the -l option compatible with bind 8
additionally, treated host -t axfr as host "-l -t any -v".
developer: marka
reviewer: jinmei
2002-09-26 11:17:06 +00:00
Mark Andrews
77cdba459a
missing const
2002-09-10 05:08:53 +00:00
Mark Andrews
52bf8cbb01
copy_server_list(), add_nameserver() and create_search_list() are private
...
functions.
2002-08-28 07:04:48 +00:00
Mark Andrews
b6309ed962
developer: jinmei
...
reviewer: marka
1368. [func] remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Danny Mayer
a17bea4f04
Put back missing origin fixes
2002-08-12 19:57:13 +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
4c8f0896dc
1352. [bug] dig, host, nslookup: when falling back to TCP use the
...
current search list entry (if any). [RT #3374 ]
Original change missed one case.
2002-08-06 00:35:01 +00:00
Mark Andrews
6c6673405c
1352. [bug] dig, host, nslookup when failing back to TCP use the
...
current search entry (if any). [RT #3374 ]
2002-08-02 12:49:46 +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
454c78d02c
runt -> short (< header size)
2002-07-10 01:03:14 +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
Mark Andrews
dd02289085
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-04-19 04:06:53 +00:00
Brian Wellington
b3c7dffe07
the 'ID mismatch' message printed by dig should show the expected and received
...
message IDs.
(now to figure out why they don't match...)
2002-03-14 18:11:38 +00:00
Mark Andrews
e53a5a116f
1209. [bug] Dig, host, nslookup were not checking the message ids
...
on the responses. [RT #2454 ]
2002-02-21 04:48:00 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Mark Andrews
c73c1c33ec
1193. [bug] dig +besteffort parsing didn't handle packet
...
truncation. dns_message_parse() has new flag
DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Andreas Gustafsson
1f1d36a87b
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
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Brian Wellington
b493dfe8bc
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.
2001-11-14 22:08:38 +00:00
Mark Andrews
c0fe9b0d1b
1123. [bug] dig +[no]fail did not match description. [RT #2052 ]
2001-11-14 06:31:38 +00:00
Andreas Gustafsson
43c69727ea
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.
[RT #1940 ]
2001-10-31 21:55:31 +00:00
Andreas Gustafsson
589dce8281
spacing
2001-10-31 20:39:39 +00:00
Andreas Gustafsson
3ad07fa335
1053. [bug] Dig did not increase its timeout when receiving
...
AXFRs unless the +time option was used. [RT #1904 ]
2001-10-15 20:40:36 +00:00
Andreas Gustafsson
1beaa9e457
1041. [bug] Dig/host/nslookup could catch an assertion failure
...
on SIGINT due to an uninitialized variable. [RT #1867 ]
2001-10-11 00:38:56 +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
Brian Wellington
f558da602e
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 17:53:39 +00:00
Andreas Gustafsson
a4701d3b7e
consistently begin error messages with a lower case letter
2001-09-26 00:38:39 +00:00
Brian Wellington
bbece796a9
The default number of UDP queries should be 3, not 2.
2001-09-18 18:16:08 +00:00
Mark Andrews
da5795a32a
995. [bug] dig, host, nslookup: using a raw IPv6 address as a
...
target address should be fatal on a IPv4 only system.
2001-09-14 06:31:40 +00:00
Andreas Gustafsson
7bfb0145d6
indentation
2001-09-12 00:22:53 +00:00
Brian Wellington
6eeefeb3eb
fix a memory leak on a tsig error condition.
2001-09-11 22:34:21 +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
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