2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

521 Commits

Author SHA1 Message Date
Michael Sawyer
cc7732e129 RT#528 fixed 2000-12-08 17:06:52 +00:00
Mark Andrews
6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Michael Sawyer
ee4429e13e 600. [bug] Reverse lookups sometimes failed in dig, etc... 2000-12-07 19:56:05 +00:00
Andreas Gustafsson
33b66a98be more DNS_OPT_NEWCODES sanitation 2000-12-02 05:13:37 +00:00
Andreas Gustafsson
90ad126bb3 more DNS_OPT_NEWCODES sanitation 2000-12-02 04:44:51 +00:00
Michael Sawyer
0c16c8a011 Make dig work in v4-less setups. This is largely untested, since I am not
sure where to find a machine without v4 networking.
2000-11-21 21:35:32 +00:00
Andreas Gustafsson
5160e38bde spacing 2000-11-21 20:52:24 +00:00
Michael Sawyer
2185dd4ac3 RT#470 2000-11-21 19:05:30 +00:00
Mark Andrews
25a66b4e41 #include <isc/print.h> 2000-11-20 13:02:18 +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
Andreas Gustafsson
2e13cb9738 indentation 2000-11-08 01:23:27 +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
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Michael Sawyer
5d20773abc Move generation of reverse lookups (blah.in-addr.arpa, etc...) names to
a common place.
2000-10-23 23:13:21 +00:00
Michael Sawyer
8e61de2efd Move fixeddomain code so nslookup can use domain= setting
More ISC_LINK_INIT's added where needed.
2000-10-23 17:49:05 +00:00
Michael Sawyer
a7e1443598 Fix #ifdef's for OPT codes.
Fix hex_dump()
2000-10-20 05:03:31 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Michael Sawyer
d7a2e05112 Changes which were made on the release branch when Brian and I were reviewing
dig's code, but never made it down to the mainline.  These are fixes to some
potential bugs Brian noticed.
2000-10-19 22:49:34 +00:00
Michael Sawyer
7a87d1c63b Fix places where wrong tag was used in #ifdef's 2000-10-19 21:49:49 +00:00
Andreas Gustafsson
6fe444423a (len != 0 && len % 16 == 15) can be simplified to just (len % 16 == 15) 2000-10-19 17:30:14 +00:00
Mark Andrews
0491a31568 bad declaration. 2000-10-17 02:11:28 +00:00
Michael Sawyer
92b35cdef8 Missed a conflict 2000-10-17 00:36:09 +00:00
Michael Sawyer
88aa63f566 Make option processing case sensitive.
Remove -w option; default xfr's to +nocomments, +noquestion.  Remove wiring
around repeated comment printing, so xfr's with +comments will cause
comment headers to be printed per packet, producing same result as -w
gave.
2000-10-17 00:35:18 +00:00
Andreas Gustafsson
7897195eed spacing 2000-10-17 00:31:17 +00:00
Andreas Gustafsson
27dd1d31f7 say "beginning of DNS packet", not "begin of DNS packet" 2000-10-16 20:38:30 +00:00
Brian Wellington
e2babfac17 dig now calls isc_mem_stats() only if -m was specified, not if
isc_mem_debugging was set elsewhere.
2000-10-13 22:55:50 +00:00
Michael Sawyer
233514c1da Add +besteffort option to dig (on by default) which will cause the
message parser to accept somewhat malformed packets.
2000-10-13 17:54:00 +00:00
Brian Wellington
d4bf3e3cef fix hex dump printing and call dns_message_parse() with flags instead of
a boolean.
2000-10-12 01:16:12 +00:00
Michael Sawyer
dc570b92f6 Add support for proposed ZONE and VIEW opt attributes. These are currently
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA.  They are also not quite complete in all regards; VIEW
options are understood and ignored.  ZONE options are understood and
acted upon, though some of the error cases aren't quite right.

Remove doubled isc_mem_stats in dighost.c

Update todo list.

Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Michael Sawyer
55bf97a1b4 Fix default for packet tracing.
Add automatic in-addr lookup generation in nslookup.
2000-10-04 17:14:44 +00:00
Michael Sawyer
d2792acfaf Add (presently undocumented) -p option to show the begin of each DNS packet,
useful for AXFR's and similar replies.  (requested by GDIB)
2000-10-02 16:43:25 +00:00
Andreas Gustafsson
3c6ed46226 spacing 2000-09-30 00:06:08 +00:00
Michael Sawyer
10e1788f9f Dig changes in response to RT321 (output formatting) 2000-09-29 23:42:15 +00:00
Michael Sawyer
2f96e6b9bb Change sense of +fail option to something more reasonable 2000-09-28 23:02:28 +00:00
Michael Sawyer
056aaae3e2 Remove +details option 2000-09-27 00:02:02 +00:00
Michael Sawyer
d8c339062c cancel_lookup should have been defined as static 2000-09-26 17:21:25 +00:00
Michael Sawyer
0dabedcca5 Add +fail option to try next server after a SERVFAIL
Fix some minor problems in some of the new option processing code.
Slight change in mem debugging
TODO changes
2000-09-25 23:10:00 +00:00
Michael Sawyer
a985c480e1 Code cleanup, mainly in dig option processing. 2000-09-22 23:21:32 +00:00
Mark Andrews
34fec86ca3 make next_token() shared. 2000-09-21 23:47:41 +00:00
Michael Sawyer
b8f9623df0 Remove isc_app_block() from dig's get_address(). 2000-09-21 23:02:34 +00:00
Michael Sawyer
f900be2190 Dig, et al:
When you have more than 1 nameserver to send queries to,
	send them one at a time with a 1 second wait between transmissions
	instead of just flooding them all out at once.

	Fix bug 348, nslookup crashing when server specified without server
2000-09-21 22:46:39 +00:00
Mark Andrews
e412ae947d 482. [bug] nslookup: a plain "server" or "lserver" should be
treated as a lookup.

 480
strsep() has slightly different semantics to strtok(), use static function
to skip empty tokens.
2000-09-21 12:25:43 +00:00
Mark Andrews
07a926724c 481. [bug] nslookup:get_next_command() stack size exceeds
per thread limit.

 480.   [bug]           strtok() is not thread safe. [RT #349]

	replaced strtok() w/ strsep().
2000-09-21 11:53:16 +00:00
Michael Sawyer
3291587f23 258. [bug] Nslookup didn't properly check class and type values.
257.	[bug]		Dig/Host/Nslookup didn't properly handle connect
			timeout in some very specific situations, and gave
			an unnecessary warning.
2000-09-14 20:11:48 +00:00
Mark Andrews
ede697fd8e Don't retry truncated tcp sessions. 2000-09-13 08:02:11 +00:00
Michael Sawyer
8f717bb10b Remove TCP retry on malformed packet
Clean up hex dump a bit
2000-09-13 00:55:13 +00:00
Michael Sawyer
97beb7237b A couple of typos corrected
Improvement to host8 compatibility.
2000-09-13 00:27:27 +00:00
Andreas Gustafsson
4c1fac9b52 typo 2000-09-13 00:13:54 +00:00
Andreas Gustafsson
e1f312795e spacing 2000-09-13 00:12:16 +00:00