Commit graph

238 commits

Author SHA1 Message Date
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
Brian Wellington
6177fc9897 A lot of files generated by libtool were not properly ignored. 2000-10-16 23:44:25 +00:00
Andreas Gustafsson
27dd1d31f7 say "beginning of DNS packet", not "begin of DNS packet" 2000-10-16 20:38:30 +00:00
Michael Sawyer
d97ea44061 Cause -m (memory debugging) option in dig to actually function. 2000-10-16 19:00:01 +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
Michael Sawyer
7804502532 Mike learns to spell... 2000-10-12 17:09:03 +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
Mark Andrews
a6368669a6 '-p' is already taken, -p port. Use '-w' (wire) to print out the packet. 2000-10-03 04:29:08 +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
Michael Sawyer
a5e89a4493 Make -t and -c change command line parsing so that unprefixed class and types
are treated as hosts.
2000-10-02 16:16:50 +00:00
Michael Sawyer
aea4345be8 Remove unused variable 2000-09-30 00:09:57 +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
c9093e6b1a Minor change, +sta should be +stats 2000-09-29 18:25:00 +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
Andreas Gustafsson
ab38df2af4 Review, hack and slash (mostly slash) 2000-09-26 23:41:43 +00:00
Michael Sawyer
d8c339062c cancel_lookup should have been defined as static 2000-09-26 17:21:25 +00:00
Andreas Gustafsson
07f1d27a64 spacing; removed redundant break statements that caused
compiler warnings
2000-09-26 17:17:39 +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
b02d8fe708 plus-options with values (+bufsize=8000) didn't print properly in the dig
comment lines since my change of option processing.  Fixed.
2000-09-25 16:14:20 +00:00
Michael Sawyer
31ce593907 Add back +norec
Properly test for missing argument in - options
Spacing
Remove unnecessary variable
2000-09-22 23:58:32 +00:00
Michael Sawyer
a985c480e1 Code cleanup, mainly in dig option processing. 2000-09-22 23:21:32 +00:00
Andreas Gustafsson
92aa706a21 the mnemonic for the chaos class is CH, not CHAOS 2000-09-22 17:36:02 +00:00
Michael Sawyer
53e7d12ab5 Display correct port number on set all and similar commands. RT352 2000-09-22 17:14:24 +00:00
Mark Andrews
34fec86ca3 make next_token() shared. 2000-09-21 23:47:41 +00:00
Andreas Gustafsson
1416cae3f6 spacing 2000-09-21 23:10:58 +00:00
Andreas Gustafsson
32e783c745 spacing 2000-09-21 23:10:15 +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
aa2c453d3c 483. [bug] nslookup: "set all" showed search but it was not
setable.
2000-09-21 12:45: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
Andreas Gustafsson
922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Michael Sawyer
e42c402595 + 459. [bug] Nslookup error in processing set command.
+
2000-09-14 22:03:52 +00:00
Andreas Gustafsson
bac3fc1a36 spacing 2000-09-14 20:32:18 +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
3370b8e656 removed redundant parentheses 2000-09-13 00:12:49 +00:00
Andreas Gustafsson
e1f312795e spacing 2000-09-13 00:12:16 +00:00
Michael Sawyer
f63a6079d3 Typo fixed
Add +ignore option
2000-09-13 00:03:28 +00:00
Andreas Gustafsson
736be84da0 previous change was correct for release branch, but incorrect
for the mainline
2000-09-12 23:23:49 +00:00