Commit Graph
102 Commits
Author SHA1 Message Date
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
Mark Andrews b6747cf19d 302. [bug] MXNAME should be large enough to hold any legal domain
name in presentation format + terminating NULL.
2000-07-03 05:26:50 +00:00
Mark Andrews 1318ddb52d 301. [bug] uninitalised pointer host:printmessage(). (RT #159) 2000-07-03 05:10:14 +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
David Lawrence c118f038d6 288. [cleanup] dig is now installed in $bindir instead of $sbindir.
host is now installed in $bindir.  (Be sure to remove
			any $sbindir/dig from a previous release.)
2000-06-28 16:32:41 +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
Mark Andrews abeb505bb6 276. [bug] dig now supports maximum sized TCP messages. 2000-06-23 16:53:53 +00:00
Michael Sawyer 461bead53c Bufsize of 64K 2000-06-23 02:56:10 +00:00
Michael Sawyer 23e8d9349b Make host -C and dig +nss actually work. 2000-06-22 22:37:31 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence bb18b04113 "we much have recovered" -> "we must have recovered" 2000-06-22 17:23:48 +00:00
David Lawrence 9ef9f6b8ae #include style lint 2000-06-22 01:26:38 +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 93c581d09f ignore nslookup 2000-06-19 19:14:09 +00:00
Michael Sawyer a414896ee9 +ad/+noad option conflicting with +additional/+noadditional option 2000-06-19 19:00:49 +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 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
Michael Sawyer 6fc790c460 If we have it, use getaddrinfo instead of gethostbyname to find the
address of the nameserver (from resolv.conf or @nameserver).
2000-06-15 19:05:30 +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 Graff 4d9485ed34 make ipv6 work again 2000-06-13 01:49:46 +00:00
Michael Sawyer 2634080063 Fix for slight changes in DST interface. 2000-06-12 19:33:30 +00:00
Michael Sawyer 7e2a4f6ad6 Minor Makefile changes 2000-06-09 00:44:12 +00:00
Michael Sawyer 9f35af4361 Bind sockets before use 2000-06-08 21:18:24 +00:00
Michael Sawyer fa6f2ebcbb Remove unnecessary code 2000-06-08 18:36:53 +00:00
Michael Sawyer 960c8888f6 TSIG verification of xfr replies working now. 2000-06-07 00:13:57 +00:00
Michael Sawyer d62f922122 Fix segfault due to uninitialized variable 2000-06-06 23:06:25 +00:00
Michael Sawyer 910df0c767 Further attempts to make XFR's verify with TSIG keys. Still not
functional, and disabled in this checkin.
Added -debug and -memdebug command line options, to avoid having
to recompile every time these options are needed.
2000-06-06 22:50:44 +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
David Lawrence 7e6d96bcac char *secretstore in setup_system() made unsigned for argument compatibility
with dns_tsigkey_create().
2000-06-06 15:30:40 +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
David Lawrence 7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Michael Sawyer c4bd4b1a8e Fix up includes and remove a warning 2000-06-01 01:06:40 +00:00
Michael Sawyer bcb97dbff8 Fix bug in AXFR processing when multiple servers can potentially answer. 2000-05-31 23:51:14 +00:00
Brian Wellington d474ab7b92 include dns/name.h 2000-05-30 22:43:10 +00:00
Brian Wellington 83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +00:00
Michael Sawyer cc88be4af1 Change global task variable to global_task
Remove unused globals
2000-05-26 22:03:00 +00:00