Commit graph

445 commits

Author SHA1 Message Date
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
Tatuya JINMEI 神明達哉
e9b85f0309 host exits with a non-zero code for erroneous results
(RT #3536)
developer: marka
reviewer: jinmei
2002-09-20 06:26:10 +00:00
Mark Andrews
77cdba459a missing const 2002-09-10 05:08:53 +00:00
Mark Andrews
1b5b46942d developer: mayer
reviewed: marka
1370.   [bug]           dig '+[no]recurse' was incorrectly documented.
2002-08-29 07:45:04 +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
Mark Andrews
741a75f81b reviewed: marka
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
306de01400 Re-order include directories. 2002-08-13 21:51:12 +00:00
Mark Andrews
2102584914 add lwres linkage 2002-08-13 01:59:31 +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
Danny Mayer
baeb459981 Updated dependencies to include lwres 2002-08-12 18:22:55 +00:00
Danny Mayer
03845b2911 Add the liblwres to the list of paths and lib 2002-08-12 01:31:48 +00:00
Danny Mayer
f7a51394db Add the liblwres to the list of paths and lib 2002-08-11 03:36:24 +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
Danny Mayer
8ef03ac274 Port needed cast to isc_uint16_t as it is a 16 bit quantity 2002-08-01 03:28:01 +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
e7bb307667 1298. [func] dig: now supports +[no]cl +[no]ttlid. 2002-05-22 04:58:30 +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
Mark Andrews
7f20fd8ebb 1237. [bug] nslookup: "set q=type" failed. 2002-03-20 18:20:03 +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
Mark Andrews
da5d1cf1b1 1164. [bug] "Not Implemented" should be reported as NOTIMP. 2001-12-19 12:16:47 +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
242bba8991 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().
2001-11-30 01:02:18 +00:00
Andreas Gustafsson
06a949d2ce 1145. [func] host no longer reports a NOERROR/NODATA response
by printing nothing. [RT #2065]
2001-11-29 01:21:19 +00:00
Andreas Gustafsson
db080b7310 need <isc/print.h> 2001-11-29 01:14:35 +00:00
Andreas Gustafsson
9ecb35e7d4 Rewrote code that prints the silly human-readable RR type names to
handle all possible RR types, and made it much smaller in the process
2001-11-29 01:08:43 +00:00
Andreas Gustafsson
5c898d95dc regenerated 2001-11-28 02:52:31 +00:00
Andreas Gustafsson
cd801a4ed8 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 02:46:21 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +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
Andreas Gustafsson
acf6bcebf9 style 2001-11-22 02:18:52 +00:00
Andreas Gustafsson
9a762177e6 style 2001-11-22 01:59:02 +00:00
Andreas Gustafsson
3cac42f8db libbind9 requires libdns and libisccfg 2001-11-21 02:19:02 +00:00
Danny Mayer
33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +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
0b07b9482c 1124. [doc] dig: +[no]dnssec, +[no]besteffort and +[no]fail
now documented. [RT #2052]
2001-11-14 06:34:24 +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
868c254c18 regenerated 2001-11-08 00:14:00 +00:00
Andreas Gustafsson
f5385613e2 note that the +[no]cmd option cannot be overridden on a per-query
basis [RT #2004]
2001-11-08 00:13:54 +00:00
Mark Andrews
afeabf9f70 1120. [bug] dig only accept valid abbreviations of +options. 2001-11-07 05:40:48 +00:00
Brian Wellington
0e40083fdd @DNS_OPENSSL_LIBS@ -> @DNS_CRYPTO_LIBS@ 2001-11-06 20:05:13 +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