Commit Graph
1699 Commits
Author SHA1 Message Date
Andreas Gustafsson 672b62dc2a log library UNEXPECTED_ERRORs through the logging system;
end first line of two-line error messages with a colon
2000-02-14 19:40:36 +00:00
Andreas Gustafsson 3fe86e8ae7 include ${CFLAGS} on linker command line so that
"configure CFLAGS=-pg && make" does the right thing
2000-02-14 18:46:16 +00:00
Andreas Gustafsson 3b14e4434a dynamic updates now attach to client object while waiting
to be executed
2000-02-11 21:09:32 +00:00
Andreas Gustafsson ae0bc2f30e Make client reference counts work the same way as all
other reference counts: replace ns_client_wait() and
ns_client_unwait() by ns_client_attach() and ns_client_detach(),
respectively
2000-02-11 20:56:19 +00:00
Andreas Gustafsson 6f6eeb26e4 prepare for introducing dns_c_ipmatch_any 2000-02-11 18:26:09 +00:00
James Brister e3f0a6821c configure_view() was not detaching iplist after use. 2000-02-11 15:29:37 +00:00
Andreas Gustafsson e5f8f2659b yet another major reorganization of client shutdown
procedures, in preparation for client timeouts
2000-02-10 22:16:56 +00:00
Brian Wellington 26e1af486a Use dns_message_reply() when responding to an update message 2000-02-10 22:14:39 +00:00
David Lawrence ae4cbb69ee [RT 17] Special handling of prefix/sysconfdir/localstatedir. If none
are given, install to /usr/local but use /etc/named.conf and
/var/run/named.pid.  If prefix is given, use it in the other two if they
are not also provided.
2000-02-10 01:14:06 +00:00
Andreas Gustafsson 66142ee20a client leaked socket if shutdown was in progress when
accept completed
2000-02-10 00:28:36 +00:00
Andreas Gustafsson a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Bob Halley 19389c0bb1 lint 2000-02-09 19:23:30 +00:00
Andreas Gustafsson a7e803adb0 obey the new transfer-source-v6 config options 2000-02-09 19:04:26 +00:00
James Brister 35393c5cfa Get query source address and port together 2000-02-09 16:36:19 +00:00
Bob Halley a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Bob Halley bfc2d518d1 use ns_g_defaultpidfile 2000-02-08 21:15:41 +00:00
Bob Halley 8545bb4765 change working directory immediately after parsing the options block 2000-02-08 01:30:16 +00:00
Andreas Gustafsson cd3674b4b2 don't configure the zone's query ACL twice 2000-02-07 22:01:05 +00:00
Andreas Gustafsson e55b792a68 do not listen on interfaces that are not marked 'up' 2000-02-07 18:47:43 +00:00
Andreas Gustafsson 02b6658a6c report use of the unsupported 'localhost' and 'localnets'
ACLs early instead of getting an assertion failure later when
trying to use them (RT #8)
2000-02-05 22:12:45 +00:00
Bob Halley 49f7fd6152 get rid of printmsg.o 2000-02-04 01:51:08 +00:00
Bob Halley cd5724d610 install named 2000-02-04 01:47:07 +00:00
Andreas Gustafsson 106003e7b4 added missing break statement after iquery case 2000-02-04 00:46:58 +00:00
Bob Halley 7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Bob Halley 7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Andreas Gustafsson d2bb8318e5 removed #include <dns/confip.h> 2000-02-02 21:05:18 +00:00
Andreas Gustafsson 6612c92a77 replaced remaining references to 'update' with 'notify' 2000-02-02 21:03:12 +00:00
Andreas Gustafsson 5a2b8787dc more comments 2000-02-02 21:02:11 +00:00
Andreas Gustafsson 9f3188c3b7 removed obsolete comment 2000-02-02 21:01:59 +00:00
Mark Andrews 25a3fe479f remove unreachable code 2000-02-02 05:55:56 +00:00
Bob Halley 5d8c8b966c separate omapi init/destroy from listen 2000-02-02 02:16:59 +00:00
Mark Andrews e63f7c6f55 lint 2000-02-02 00:58:15 +00:00
Bob Halley 148677b9a2 downgrade OMAPI successful start message to debug 3 2000-02-02 00:37:28 +00:00
Bob Halley 5e4b7294d8 remove CAP_SYS_RESOURCE 2000-02-01 20:17:32 +00:00
David Lawrence bb744e24d6 listen only on addr 127.0.0.1 2000-02-01 15:18:28 +00:00
David Lawrence d08f3e2bf7 define NS_OMAPI_PORT as 953 2000-02-01 15:17:52 +00:00
Bob Halley bfab626984 When answering a nonrecursive query, do not use the cache if we have a
referral from authoritative data.
2000-02-01 02:23:39 +00:00
Andreas Gustafsson 22eeba5ec6 use global max-transfer-time-out if per-zone option is not set 2000-01-31 23:13:22 +00:00
Andreas Gustafsson d405c0722d idle timeout code was missing isc_timer_touch() 2000-01-31 23:12:35 +00:00
Andreas Gustafsson 515277c0e8 function was declared static but defined non-static 2000-01-31 22:06:09 +00:00
David Lawrence ad1a8079ba only do omapi_listener_shutdown if ns_g_omapimgr != NULL 2000-01-31 19:59:39 +00:00
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
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 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