Commit Graph

986 Commits

Author SHA1 Message Date
Bob Halley
f5facdfc29 The 'forwarders' and 'forward' options are now hooked up.
If the server had been bound to a particular query source and was then
reloaded, the reloading would fail due to "address in use" if the query
source had not been changed.  The server now remembers if a custom dispatcher
is in use, and reuses it if it is compatible with the new configuration.
2000-01-31 19:59:11 +00:00
Bob Halley
1340f42b21 Add querysrc_address and querysrc_dispatch. 2000-01-31 19:56:52 +00:00
Andreas Gustafsson
bd1dfb7939 removed overzealous INSIST() 2000-01-31 19:53:44 +00:00
Andreas Gustafsson
bb56f556f5 use global max-transfer-time-in if per-zone option is not set 2000-01-31 19:53:14 +00:00
Michael Graff
d95e6b2631 add the byaddr bits I hacked on Friday 2000-01-31 19:04:58 +00:00
Andreas Gustafsson
8c2ff0cdc0 #include <isc/socket.h> 2000-01-31 18:46:41 +00:00
Andreas Gustafsson
c718c8aa60 separate transfer-source addresses for IPv4 and IPv6 2000-01-31 18:00:07 +00:00
David Lawrence
98b6232ec1 added DNS_LOGMODULE_OMAPI 2000-01-31 15:25:29 +00:00
David Lawrence
824881962d Added rndc to subdirs. 2000-01-31 15:23:40 +00:00
David Lawrence
186a100dc6 Reset the assertion and fatal error callbacks before calling isc_log_*,
in case isc_log_* is what is causing the assertion/error.

Check bounds on port of -p option.

Start OMAPI on startup, destroy it on shutdown.
2000-01-31 15:23:10 +00:00
David Lawrence
4233113daf compile omapi.c, compile with OMAPI include directories, link with libomapi.a 2000-01-31 15:20:58 +00:00
David Lawrence
9397fb1fb1 dns_g_omapimgr to manage the OMAPI listener 2000-01-31 15:19:37 +00:00
David Lawrence
36e3f1b8e5 definitions for OMAPI support 2000-01-31 15:18:48 +00:00
David Lawrence
c6ea39f398 accept "reload" command via OMAPI 2000-01-31 15:17:59 +00:00
David Lawrence
9fac613f40 Allow -e flag to force an error from the client to the server, to test
the server's error response mechanism.

Test notify-object.

omapi_value_asint -> omapi_value_getint

omapi_string_totext API changed.

Process the additional text message in a "status" signal.

Shutdown the server side at a trigger value (hardwired at 32, or four
updates from the client.)

Test omapi_protocol_connect without asserting an error on failure.

Wait the server until shutdown so memory usage can be examined.
2000-01-31 15:17:11 +00:00
David Lawrence
e5a213d7ee use isc_net_probeipv6 to decide family of sockaddr_any in dns_zone_configure 2000-01-31 15:09:09 +00:00
David Lawrence
20bd7b4bbf start of omapi-based ndc; reload only so far 2000-01-31 14:30:48 +00:00
Mark Andrews
d875b1151d dns_zone_dump() -> dns_zone_dumptostream() 2000-01-31 02:16:13 +00:00
Mark Andrews
9618b7e8c2 add extra test 2000-01-31 01:55:24 +00:00
Bob Halley
9ee5efde7d pid file support 2000-01-29 01:38:09 +00:00
James Brister
7d9c38e052 New test fields 2000-01-29 00:12:34 +00:00
Andreas Gustafsson
9c7ea152ca When a client object has served its purpose and is not
needed to listen for new requests, do not shut it down.  Instead,
wait for pending sends to finish and then store it on a linked
list of inactive client objects for later reuse.
2000-01-28 23:35:53 +00:00
Brian Wellington
587368b247 couple of bug fixes, missed a few cases of verbosity-izing 2000-01-28 21:40:24 +00:00
Brian Wellington
a67fc7e1ff verbose option (-v) actually does something, infinite loop fix 2000-01-28 20:33:41 +00:00
Bob Halley
d7a26a32f8 add ns_g_username 2000-01-28 20:10:43 +00:00
Bob Halley
7be4ced9e2 os API cleanups; -u support; call ns_os_chroot() 2000-01-28 20:10:26 +00:00
Bob Halley
bcc1d6507b call ns_os_changeuser() from run_server() 2000-01-28 20:09:49 +00:00
Bob Halley
2dfd6bca9a add chroot and changeuser; revise linux privs 2000-01-28 20:09:14 +00:00
Brian Wellington
19a3e16a9d Use zone routines to load/dump instead of db routines 2000-01-28 16:36:41 +00:00
Mark Andrews
94e0696f4b Dereference pointer. 2000-01-28 05:39:40 +00:00
Mark Andrews
939ac6c3fa return from main rather than exit. 2000-01-28 01:53:11 +00:00
Michael Graff
291b0d910d dump the contents of the returned packet. 2000-01-28 00:34:18 +00:00
Michael Graff
42533116a5 checkpoint ; forward name lookup (complete with CNAMES) works! A6 chains and
DNAME not yet tested.
2000-01-28 00:33:49 +00:00
Andreas Gustafsson
3bf3bd6f7f pointer arithmetic on void pointers is illegal 2000-01-27 23:53:40 +00:00
Andreas Gustafsson
6d39d25c55 set configuration lock quotas to 1 2000-01-27 21:20:32 +00:00
Andreas Gustafsson
4ab89b50e5 need #include <dns/rdatatype.h> 2000-01-27 19:45:33 +00:00
Andreas Gustafsson
94a3e829e0 added "transfersin" quota variable in zone manager;
use dns_severity_t, not dns_c_severity_t to represent name checking
severities, to eliminate the final dependency on dns/config code
2000-01-27 19:44:49 +00:00
Mark Andrews
2446ecd92d let the build complete 2000-01-27 13:05:13 +00:00
Mark Andrews
76942b0fed checkpoint 2000-01-27 08:08:03 +00:00
Mark Andrews
f40036cbd6 link gxbn_test into build 2000-01-27 08:07:03 +00:00
Michael Graff
dafb96ea51 checkpoint 2000-01-27 02:15:50 +00:00
Bob Halley
3013dcc59d hint zone support; more error checking of zone 2000-01-27 01:57:08 +00:00
Bob Halley
e592dd7c34 conform to dns_rootns_create() API change 2000-01-27 01:56:28 +00:00
Andreas Gustafsson
66c41c5b4f use the UNUSED() macro 2000-01-27 01:14:13 +00:00
Andreas Gustafsson
143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
Andreas Gustafsson
5137961d7c use the UNUSED() macro 2000-01-27 00:56:10 +00:00
Andreas Gustafsson
a820cd51ec removed 'pubkey' from the zone object; if we decide it is
actually needed, it should be restored but as a dns_pubkey_t,
not dns_c_pubkey_t.
2000-01-27 00:44:56 +00:00
Bob Halley
77d886b04e call ns_os_daemonize() 2000-01-26 21:13:19 +00:00
Bob Halley
2aa67e804d add ns_os_deamonize() 2000-01-26 21:12:33 +00:00
James Brister
95ff121ebd removed some platform specific code. 2000-01-26 19:36:18 +00:00