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

81 Commits

Author SHA1 Message Date
Michael Sawyer
bc223aaf8e miccing cancel_all in nslookup. 2001-03-13 01:03:43 +00:00
Andreas Gustafsson
b4876b6ddf simplify dig/host/nslookup code by using the _format() functions in
more places; fix spacing issues; make nslookup print debugging details
for all lookup results, not just those with rcode==0; add comments
2001-01-24 19:28:34 +00:00
Andreas Gustafsson
20b6f1e657 misc cleanup 2001-01-22 23:22:09 +00:00
Andreas Gustafsson
688a4c50c2 More searchlist/domain handling fixes. Dig/host/nslookup no longer
have the notion that there can be both a search list and a default
domain at the same time.  The resolv.conf "domain" directive is now
used only if there is no "search" directive, and is treated exacly
like a one-element searchlist. The "+domain" option of dig and the
"set domain" command of nslookup are now merely ways of overriding the
resolv.conf search list.  Parents of the name given in the "domain"
directive are still not searched; this is considered a feature and is
consistent with lwres, but different from the BIND 8 resolver. The
"+defname" option to "dig" is now deprecated and treated as a synonym
for "+search"
2001-01-18 05:12:44 +00:00
Brian Wellington
e56101fa68 consolidate duplicated code. 2001-01-17 02:21:51 +00:00
Brian Wellington
427f933ece use isc_app_block instead of an ugly hack. 2001-01-17 00:48:19 +00:00
Brian Wellington
66921d6dd2 685. [bug] nslookup should always use the search list/domain
options from resolv.conf, and it (and host) should use
                        the search list items first. [RT #405, #630]
2001-01-16 23:15:55 +00:00
Andreas Gustafsson
066cb385cd don't hardcode the magic constant 41 2001-01-16 19:13:10 +00:00
Andreas Gustafsson
93988fb202 use dns_name_format() in more places 2001-01-16 18:52:14 +00:00
Andreas Gustafsson
7ddb4c86a9 breaking out the SOA fields by calling dns_rdata_totext() and then
tokenizing the text representation is sick and demented
2001-01-16 18:39:38 +00:00
Mark Andrews
be387fd057 682. [bug] nslookup diplayed SOA records incorrectly. [RT #665] 2001-01-16 07:28:11 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Michael Sawyer
fe3bcec776 Remove useless -h option (which nslookup8 didn't have anyway). 2000-12-08 18:25:54 +00:00
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
David Lawrence
869f65bea4 made addlookup() void; its return value was not needed in any context 2000-12-06 22:38:49 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
e6d3ffb665 ISC_LINK_INIT + ISC_LIST_APPEND -> ISC_LIST_APPENDUNSAFE 2000-10-25 06:17:56 +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
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
7804502532 Mike learns to spell... 2000-10-12 17:09:03 +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
056aaae3e2 Remove +details option 2000-09-27 00:02: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
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
Michael Sawyer
97beb7237b A couple of typos corrected
Improvement to host8 compatibility.
2000-09-13 00:27:27 +00:00
Brian Wellington
b266f8fc42 Use isc_app_run() and isc_app_block() instead of condition variables. 2000-09-01 23:43:55 +00:00
Brian Wellington
5f01e77fc2 A blank line shouldn't quit the program. Also print a meaningful
message when unimplemented (from bind 8) commands are run, rather than
looking them up.
2000-09-01 22:45:16 +00:00
Brian Wellington
798e2f30d6 A mutex was being destroyed while held. 2000-09-01 22:17:53 +00:00
Brian Wellington
6e3a8e17fd The "exit" command was not implemented. 2000-09-01 22:14:32 +00:00
Brian Wellington
cc48bb397f typo and whitespace fixes 2000-09-01 21:54:23 +00:00
Brian Wellington
fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
Andreas Gustafsson
e32394a2ac 395. [bug] nslookup printed incorrect RR type mnemonics
for RRs of type >= 21 [RT #237].
2000-08-15 18:44:05 +00:00
Andreas Gustafsson
88301f84d1 print the deprecation warning message to stderr, not stdout 2000-08-09 18:35:40 +00:00
Andreas Gustafsson
37e6e0ca13 coding style 2000-08-07 23:54:46 +00:00
Michael Sawyer
19c8df90f1 Support yet another strange set of nslookup options.
nslookup - nameserver         nslookup -nameserver
are both listed in the old man page.  Both now are supported.
2000-08-03 17:43:06 +00:00