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
David Lawrence
5564b21be5
use ISC_TF() to return an isc_boolean_t
2000-08-02 19:53:33 +00:00
Michael Sawyer
48674819eb
367. [func] Allow proper selection of server on nslookup command
...
line.
366. [func] Allow use of '-' batch file in dig for stdin.
2000-08-02 17:58:07 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
bf9163715d
isc_mem_debugging cleanup
2000-07-27 23:52:30 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Michael Sawyer
aa6054ec74
Clean up type and class code. (No more ugly istype() and isclass() functions)
...
Minor changes to timeout handling code.
Don't preload batch file.
2000-07-18 01:28:20 +00:00
Michael Sawyer
e715e01178
More code duplication removal and general cleanup
...
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +00:00
Michael Sawyer
738310d8cf
It's probably a bad idea to pre-allocate 64K buffers for each lookup as soon
...
as you read in the batch file. Don't.
2000-07-13 01:22:38 +00:00
Michael Sawyer
38cf6e52ce
Lots of style changes.
...
Clean up what appears to be a varient of the race condition, this one set
off in nslookup.
2000-07-05 23:28:32 +00:00
Michael Sawyer
1893b56ef9
Move taskmgr shutdown to the correct place.
2000-06-30 14:11:49 +00:00
Michael Sawyer
db8b100cae
DO NOT PULL ME UP TO THE RELEASE BRANCH.
...
This is a fix for the race condition in dig. It seems to work well, except
there's a memory leak I can't quite track down. Michael and I will look at
it on the plane ride tommorow, and commit a change via modem once we arrive
in PA. We'll also be doing general code cleanup.
2000-06-29 05:21:12 +00:00
Michael Sawyer
c9defbf4b9
Sort #includes
2000-06-21 17:48:32 +00:00
Michael Sawyer
d821f1cd7e
Additional debugging options
...
% comment option in dig
2000-06-21 01:40:42 +00:00
David Lawrence
ad7bb5bff3
also suggest "host" in addition to "dig"
2000-06-20 00:21:15 +00:00
David Lawrence
cd720113a2
add missing void prototypes, use ISC_TF to assign a boolean from an expression
2000-06-19 18:54:45 +00:00
Michael Sawyer
518c9fea58
Add ability to set AD and CD flags in outgoing query.
2000-06-16 18:00:05 +00:00
Michael Sawyer
6c6a62933d
Spelling error.
2000-06-15 18:24:08 +00:00
Michael Sawyer
f8fec75ee8
Something I've been wanting to do for a long time.
2000-06-15 00:22:21 +00:00
Michael Sawyer
d62f922122
Fix segfault due to uninitialized variable
2000-06-06 23:06:25 +00:00
Michael Sawyer
47058d1726
Validate TSIG signatures on replies, *except* for xfr's.
...
Add Id string.
2000-06-06 18:49:06 +00:00
Michael Sawyer
a5ed46c9fd
Send TSIG signed queries with dig. This version requires all queries
...
from a single invocation of dig use the same key, and doesn't validate
replies yet. Also, keys must be passed on the command line with the
-y option. -k forthcoming.
2000-06-06 00:43:17 +00:00
Michael Sawyer
d12ed0876f
Add ixfr support to dig, as:
...
dig domain.nil. ixfr=12345
where 12345 is version you are ixrf'ing against
(testing still in progress of this option)
2000-06-02 18:45:33 +00:00
Michael Sawyer
c4bd4b1a8e
Fix up includes and remove a warning
2000-06-01 01:06:40 +00:00
Michael Sawyer
cc88be4af1
Change global task variable to global_task
...
Remove unused globals
2000-05-26 22:03:00 +00:00
Michael Sawyer
51ef9c7d6c
Fix memory leak on abort
2000-05-25 19:32:11 +00:00
Michael Sawyer
0eb5cf7351
Fix lookup limit.
...
Fix non-closing of sockets when finished.
2000-05-24 23:39:30 +00:00
Michael Sawyer
17747cd5ee
Clean up warnings I accidentally left in in previous commit.
...
Add resetting of lookup counter between different name searches.
2000-05-24 19:49:51 +00:00
Michael Sawyer
844eaa56d6
Minor error in return codes fixed in dighost.c
...
Additional functionality to nslookup
2000-05-16 17:53:35 +00:00
Michael Sawyer
9fe3676b84
Clean up command line parsing in dig.
...
Fix bug in nslookup interactive mode.
2000-05-12 18:45:38 +00:00
Michael Sawyer
6fe03d6c83
Code cleanup of dighost.c, hopefully making some of the flow of
...
command a bit more obvious.
Addition of TCP fallback on UDP failure. Will add option to disable this.
Further work on nslookup.
(nslookup is not built by default now, and is far from fully functional.
Interactive mode currently segfaults.)
2000-05-12 01:02:37 +00:00
Michael Sawyer
cefd68008f
Host was broken in last commit; fixed here.
...
Add nslookup.c; non-functional and not compiled by make all.
2000-05-09 18:05:13 +00:00