Commit Graph

2043 Commits

Author SHA1 Message Date
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
Brian Wellington
720319de67 Call isc_log_wouldlog in ns_client_log 2000-07-13 00:21:27 +00:00
David Lawrence
3dae6c4675 minor cleanups from review 2000-07-12 19:39:49 +00:00
Brian Wellington
8d790f3e95 When lwresd is shutting down, don't explicitly send shutdown events to the
clientmgr tasks, since the task manager already sends them.
2000-07-12 19:03:08 +00:00
Jim Reid
df5918b068 incorporated Brian's review comments and corrections 2000-07-12 18:29:33 +00:00
Brian Wellington
9df4200a67 Check the return value of kill. This means that the test can now detect
the case when a program no longer exists (due to a crash) or when a
program responds badly to a SIGTERM and doesn't clean up the pid file.
2000-07-12 17:59:08 +00:00
Michael Sawyer
76959783dd Documentation changes in usage message. 2000-07-12 17:44:03 +00:00
Andreas Gustafsson
0d3bf3c5f1 reviewed; removed requirement to always quote
host addresses
2000-07-12 17:37:57 +00:00
David Lawrence
8d6c369232 work with new omapi_protocol_listen and omapi_auth_register APIs 2000-07-12 17:29:58 +00:00
Jim Reid
94b7428468 first drafts of the nsupdate and host man pages 2000-07-12 17:17:03 +00:00
Andreas Gustafsson
00148ffb6b reviewed; made minor stylistic changes 2000-07-12 16:48:19 +00:00
David Lawrence
2831bea28e make rndc output appear as I: lines 2000-07-12 16:43:03 +00:00
David Lawrence
e9729674d6 don't warn about missing keys{} clause or non-inet type, since the config
parser will have already warned about that.
2000-07-12 15:33:41 +00:00
Jim Reid
b9db5f75cf fixed some typos and incorrect troff macro calls
put the text into our (as yet undocumented) manpage canonical format
2000-07-12 13:49:07 +00:00
Andreas Gustafsson
52eae74966 reviewed and edited 2000-07-12 02:07:32 +00:00
Michael Sawyer
473cb90680 Choose reasonable default values for +trace mode. 2000-07-12 01:41:35 +00:00
Brian Wellington
e7a99528b4 The third parameter to dst_lib_init is an integer, so should be 0, not NULL. 2000-07-12 01:15:34 +00:00
Brian Wellington
42833075de typo in dependency statement 2000-07-12 01:15:00 +00:00
Michael Sawyer
931e154a1e Change ticks to 360, not zones... 2000-07-12 00:46:50 +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
b95b59db26 Increase max wait time for transfer to Retry time + 1 minute, since some
OS's appear to drop UDP packets and not get the initial SOA reply.
2000-07-11 23:42:56 +00:00
David Lawrence
eae2a15326 use ns_g_server->aclenv to match localhost and localnets in the allow{} clause 2000-07-11 23:02:32 +00:00
David Lawrence
ce2be9b721 329. [func] omapi_auth_register() now takes a size_t argument for
the length of a key's secret data.  Previously
			OMAPI only stored secrets up to the first NUL byte.

This change was made to cope with decoded base64 secrets, so in this
revision omapiconf.c and rndc.c also decode the secret.
2000-07-11 22:03:12 +00:00
James Brister
adade77942 326. [func] 'keys' in an 'inet' control statement is now
required and must have at least one item in it.

                        warning is issued if a 'unix' control channel is
                        defined (not supported).
2000-07-11 19:09:10 +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
Mark Andrews
6c3371d89a Add test for leading zero in SOA serial 2000-07-11 02:40:58 +00:00
David Lawrence
37ea500c8a use base64 for secret in sample config 2000-07-11 01:31:06 +00:00
David Lawrence
87983da955 use configure-generated sysconfdir, add version string 2000-07-11 01:30:56 +00:00
David Lawrence
3734f3f1ba -k flag changed to -y to be compatible with dig and nsupdate.
(... since I have to update the ARM anyway ...)
2000-07-11 00:37:58 +00:00
Brian Wellington
7f2ac7414c Test that a query for a security root succeeds. 2000-07-11 00:36:44 +00:00
David Lawrence
32d6b7bbfb use base64 for the secret; describe how base64 secrets can be made; clarify
the interaction of some of the statements and the command line;
clarify the double quote rules
2000-07-11 00:23:38 +00:00
Brian Wellington
e09caeceef print the test info before executing the test 2000-07-10 23:46:50 +00:00
Brian Wellington
60f0c97c90 fix broken shell code 2000-07-10 23:05:51 +00:00
David Lawrence
acc859e12c updated to describe current options 2000-07-10 23:04:42 +00:00
Michael Sawyer
796b1656b6 pulldown:
If the testsock.pl test fails, try 5 times (2 seconds between tries) in case
a server took some time to fully free the port.  (Appears to be an occasional
problem on Solaris)
2000-07-10 22:49:46 +00:00
David Lawrence
a9ec4f7ca5 confparser allows the keys clause to be missing from the controls statement,
but it is really required.  warn when it is absent and skip the channel.
2000-07-10 22:04:08 +00:00
David Lawrence
3a72577619 include named/omapi.h 2000-07-10 22:02:38 +00:00
David Lawrence
77e38fb51c the presence of a "unix" control channel type in named.conf caused all hell
to break loose
2000-07-10 21:49:00 +00:00
Brian Wellington
b872e86042 Describe all the tests that are run and indicate which ones fail. 2000-07-10 21:40:16 +00:00
Andreas Gustafsson
04d58db327 321. [bug] When synthesizing a CNAME RR for a DNAME
response, query_addcname() failed to intitialize
                        the type and class of the CNAME dns_rdata_t,
                        causing random failures.
2000-07-10 18:33:25 +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