David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Michael Sawyer
a056a85de0
Improve searchlist code
2000-07-24 18:07:03 +00:00
Andreas Gustafsson
3f290e501e
don't use initial capital letter in log message
2000-07-21 23:04:44 +00:00
Brian Wellington
4e160a846f
Removed the tsig keyring, since it's no longer needed.
2000-07-21 22:26:08 +00:00
Michael Sawyer
f840a7bd0d
Remove unused variable, fix char*[] variable
2000-07-21 22:25:15 +00:00
Michael Sawyer
8bf0f722f8
Count and possibly limit how many names and rr's in a xfr.
...
(Needed by GDIB folks)
2000-07-20 19:41:44 +00:00
Brian Wellington
e860332b07
A call to isc_mem_put could pass a different size than was gotten. Use
...
isc_mem_allocate instead.
2000-07-20 17:58:59 +00:00
Michael Sawyer
26cebf3482
Slight bug in batch processing
2000-07-20 17:56:20 +00:00
Michael Sawyer
68f0d29d61
Fix a minor race condition in SIGINT handling
...
Allow dig to used name key files
Allow SIGINT in nslookup
2000-07-19 17:52:27 +00:00
Michael Sawyer
5e804988e9
Add comments to source code
2000-07-18 18:51:40 +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
4b7d316065
A few bug fixes.
2000-07-14 21:33:03 +00:00
Michael Sawyer
925a734426
Handle SIGINT properly during batch mode.
2000-07-14 20:14:36 +00:00
Michael Sawyer
8cd54a7461
Lots of changes to the shutdown code. Get rid of the annoying "just exit"
...
method of shutting down.
Known bug: SIGINT while doing batch mode causes assertion.
2000-07-14 17:57:27 +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
0840ae769a
When doing multi-stage lookups (like +trace and +nss), don't wait for all
...
of the servers being queried to return results if we only need one of them.
2000-07-13 22:53:51 +00:00
Michael Sawyer
a31dbaa03f
Replace +aa option, per AG.
2000-07-13 21:12:21 +00:00
Michael Sawyer
8f56f93547
Clean up duplicate code in host.c
...
Fix a socket cleanup problem which, in some isolated cases, prevented
correct shutdown.
Remove +aa option completely.
2000-07-13 21:01:00 +00:00
Michael Sawyer
c5ec9b45bb
Lots of duplicate code removed
...
+tcp mode bug fixed
2000-07-13 18:52:58 +00:00
Michael Sawyer
58cdafb232
Style changes, nothing functional
2000-07-13 02:14:17 +00:00
Michael Sawyer
77365675e9
Use mempools instead of free lists for the comm buffers.
2000-07-13 01:49:44 +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
d2895dd9bb
Major changes to how dighost handles lists and shutdown conditions.
...
Probably not safe to pull up to release branch, since, though it works, it
needs serious testing and more changes are still pending. In particular,
I INSIST lots of things I didn't used to INSIST, which may be set off
under certain conditions.
2000-07-13 00:32:20 +00:00
Michael Sawyer
de73f221e6
Parenthesis error in trace mode.
...
(To see delegations in +trace, you need to do +trace +authority in dig. Should
this be defaulted?)
2000-07-12 00:42:54 +00:00
Andreas Gustafsson
969b3374ed
no space between function name and arg list
2000-07-12 00:22:57 +00:00
Michael Sawyer
1b4e3f88bb
Minor typo in error result
2000-07-11 17:49:02 +00:00
Michael Sawyer
6331b9a45e
Don't try and reset timers which aren't being used.
2000-07-11 17:35:49 +00:00
Brian Wellington
3ce3305278
Remove a race condition where the final event could be posted before
...
isc_app_run started.
2000-07-10 18:02:31 +00:00
Michael Sawyer
2386f92414
Change the default timeouts to 30 seconds.
...
Change the semantics of timeout under TCP mode.
(touch the interval every rcv'd packet, plus increase the timeout greatly
once in the XFR)
2000-07-10 17:25:59 +00:00
Michael Sawyer
0f2fff1389
Print stat lines when needed.
...
(This should be able to be safely pulled up.)
2000-07-07 21:53:47 +00:00
Michael Sawyer
0819ae2ca5
Use limits.h/INT_MAX instead of the deprecated values.h/MAXINT
2000-07-06 01:02:42 +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
Andreas Gustafsson
24139527f3
lots of style changes; no functional change
2000-07-05 19:31:26 +00:00
Brian Wellington
7408b050c0
Don't use the search list by default. This makes dig 9 compatible with
...
dig 8 (although not the dig 8 manpage).
2000-07-03 21:52:13 +00:00
Brian Wellington
b8dbd3c5dc
The last patch had 2 lines reversed.
2000-06-30 22:57:47 +00:00
Brian Wellington
704eba6330
Remove crashes in dig related to freeing global state (in this case, the
...
tsig keyring) while it was still needed.
2000-06-30 22:53:07 +00:00
Michael Sawyer
1893b56ef9
Move taskmgr shutdown to the correct place.
2000-06-30 14:11:49 +00:00
Michael Graff
eb305df466
use %p for pointers, not %lu with a cast of (unsigned long)
2000-06-29 07:43:46 +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
84c4c99c9e
290. [cleanup] +twiddle option to dig (for testing only) removed.
2000-06-28 18:20:44 +00:00
Michael Sawyer
bbd5acf6ad
Memory leak in ixfr processing and grammatical error in debug message
2000-06-27 23:18:14 +00:00
Michael Sawyer
3f13e5969b
Don't have dig (et al) fall back to TCP mode after non-responsive UDP
...
attempts.
2000-06-26 21:28:17 +00:00
Andreas Gustafsson
84df8c98f0
when doing AXFR/IXFR, dig sometimes called
...
dns_message_currentname() with a non-NULL name
2000-06-26 00:57:18 +00:00
Michael Sawyer
6bc106bb7e
include isc/result.h
2000-06-23 20:57:19 +00:00
Michael Sawyer
23e8d9349b
Make host -C and dig +nss actually work.
2000-06-22 22:37:31 +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
Michael Sawyer
518c9fea58
Add ability to set AD and CD flags in outgoing query.
2000-06-16 18:00:05 +00:00
Michael Sawyer
77ae2d58c2
Memory leak.
2000-06-15 22:08:44 +00:00
Michael Sawyer
7b5dbd404b
Only need h_errno if we're not using getaddrinfo
2000-06-15 20:56:24 +00:00