Brian Wellington
9a68d61341
Implement -k keyfile and fix -y keyname:secret
2000-07-03 23:42:48 +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
cbc6e83597
Use lwres_net_ntop now that including both lwres/net.h and isc/net.h is
...
possible
2000-07-03 20:08:13 +00:00
Brian Wellington
1e105376dd
linux_keepcaps() was called without checking the various defines that
...
surrounded the function definition.
2000-07-03 20:00:44 +00:00
Brian Wellington
79e873be59
The reordering of code in the last change broke linux, since the determination
...
of whether we could call setuid() was moved after the check.
2000-07-03 18:28:38 +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
Mark Andrews
989000eadd
Add $include tests.
2000-07-03 03:08:22 +00:00
David Lawrence
202991557a
299. [cleanup] Get the user and group information before changing the
...
root directory, so the administrator does not need to
keep a copy of the user and group databases in the
chroot'ed environment. Suggested by Hakan Olsson.
2000-07-01 00:48:06 +00:00
Brian Wellington
6dd953f666
including both <lwres/lwres.h> and <lwres/net.h> doesn't work, but
...
lwres_net_ntop only works when <lwres/net.h> is included. For now,
don't include <lwres/net.h> and call inet_pton instead.
2000-07-01 00:22:00 +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
Andreas Gustafsson
277bbd41d4
when reporting errors due to timer events not happening at the
...
expected time, print the number of microseconds by which the true time differs
from the expected one, to aid in determining whether the offset is due to a genuine
bug or too small a fudge factor
2000-06-30 22:01:40 +00:00
Brian Wellington
81dcbe87a7
Use lwres to parse resolv.conf
2000-06-30 21:47:35 +00:00
Brian Wellington
835658d2be
Support tcp mode (-v).
2000-06-30 18:59:21 +00:00
Brian Wellington
0a35d55b99
Handle value dependent prerequisites.
2000-06-30 18:44:51 +00:00
Michael Sawyer
1893b56ef9
Move taskmgr shutdown to the correct place.
2000-06-30 14:11:49 +00:00
Brian Wellington
85dd6d777a
Multiple spaces between tokens weren't handled correctly.
2000-06-30 06:35:50 +00:00
Brian Wellington
1513eda9f0
Fix some more crashes and a memory leak.
2000-06-30 03:45:54 +00:00
Brian Wellington
3b7ddac82a
Another snapshot. Fixes a crash and removes all occurrences of strtok(),
...
since it wasn't working correctly when the rdata contained multiple tokens.
2000-06-30 03:24:27 +00:00
Andreas Gustafsson
8f874cca90
removed unnecessary locking in ns_interface_shutdown() that
...
caused the server to deadlock on shutdown on the Alphas.
2000-06-30 02:48:06 +00:00
Brian Wellington
778775be7a
I'm apparently good at confusing CVS. This diff has no changes.
...
The previous one, on the other hand (with an empty log message), is a fairly
large rewrite of nsupdate. It's much more compatible with the bind 8 version
(the commands in the man page actually work now). There's a lot less code
duplication, and some other general simplification. This is still a work in
progress.
2000-06-30 01:59:49 +00:00
Brian Wellington
ea32d34e58
*** empty log message ***
2000-06-30 01:56:14 +00:00
Mark Andrews
323b6387ce
293. [port] Add support for freebsd 4.0 system tests.
2000-06-29 15:28:23 +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
Jim Reid
e4b125e8d6
first draft of rdnc.conf manpage
2000-06-29 06:14:18 +00:00
Jim Reid
65e5eed890
first draft of rdnc man page
2000-06-29 05:31:42 +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
Brian Wellington
a04a6cbaca
if (debugging), not if (debug)
2000-06-29 02:16:44 +00:00
Brian Wellington
f3b813b89a
Install nsupdate, not dig, in ${bindir}, not ${sbindir}
2000-06-29 00:00:20 +00:00
Andreas Gustafsson
349a0a0b78
build nsupdate by default
2000-06-28 23:55:28 +00:00
Jim Reid
bb09af99a5
fixed some brokwn .Ar macro calls that should have been .Fl calls
...
tidied up some clumsy English and missing option intros.
2000-06-28 23:41:01 +00:00
Brian Wellington
316e03c2df
Makefile was broken for out-of-tree builds
2000-06-28 23:19:02 +00:00
Brian Wellington
3f358cfc9f
Try to avoid signedness warnings.
2000-06-28 22:41:46 +00:00
Brian Wellington
91f77f8a8d
Test getaddrinfo() and getnameinfo().
2000-06-28 21:56:51 +00:00
Brian Wellington
57bae12486
Remove multiple A records, since it makes testing far more complicated.
2000-06-28 21:56:13 +00:00
Andreas Gustafsson
e0a18a86d9
CVS ID
2000-06-28 19:01:52 +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
Andreas Gustafsson
506a962558
didn't compile
2000-06-28 16:27:36 +00:00
David Lawrence
c229b778b8
287. [func] rndc is now installed by "make install" into
...
$sbindir.
This resolves RT #145 item 1.
2000-06-28 16:27:17 +00:00
Michael Graff
15197aefa1
workaround for NetBSD - close FDs before dup2().
2000-06-28 16:26:40 +00:00
Michael Graff
4e21e54a03
make tests compile again.
2000-06-28 16:19:57 +00:00
David Lawrence
ff2add63ae
omapi_lib_destroy() must be called before isc_taskmgr_destroy() so the
...
latter won't block on the internal omapi task.
2000-06-28 16:09:53 +00:00
David Lawrence
30a4d5b0c2
To match the documentation for 9.0.0, rndc.conf parsing was disabled and
...
messages will not be signed with dst. The dst goo is CPP'd out with
"#ifdef notyet".
Added an undocumented -v (verbose) flag for debugging.
The program currently hangs in isc_taskmgr_destroy(), which I will be trying
to nail down tomorrow morning. Really must get to bed.
2000-06-28 05:38:48 +00:00
David Lawrence
e0720bd847
omapi_test has failed to work since the dst API change because it required
...
dst_lib_init to be called before any of the dst functions are used. The
missing calls for dst_lib_init() and dst_lib_destroy() have been added to
the application here, rather than to omapi_lib_init(), to be consistent with
the rest of our applications.
Not sure that this warrants a CHANGES entry since it is just a test program.
Then again, it is probably worth mentioning that programs using OMAPI will
need to ensure they call dst_lib_init() before they call
omapi_listener_listen(). Unfortunately omapi_lib_init() can't require
dst having been initialized as part of its contract because it can't
figure out whether that's true or not.
2000-06-28 03:37:47 +00:00
Jim Reid
57584184fe
incorporated Brian's corrections and improvements
2000-06-28 03:20:49 +00:00
David Lawrence
fb1086b1f4
rm -f lwresd before trying to link it to named in the install target.
2000-06-28 02:54:55 +00:00
Jim Reid
1b32c4783f
minor corrections to -n option description as recommended by Brian
2000-06-28 02:51:46 +00:00
Brian Wellington
eb3bd171e0
test gethostbyname, gethostbyname2, and gethostbyaddr
2000-06-28 00:34:35 +00:00