Commit graph

389 commits

Author SHA1 Message Date
Brian Wellington
63c82cf3ce Call dst_lib_init() and dst_lib_destroy() 2000-06-07 01:44:33 +00:00
Andreas Gustafsson
657f3b3768 added final wiring for the listen-on-v6 statement 2000-06-06 18:53:02 +00:00
Andreas Gustafsson
31dfecfa8f forward to the view's configured destination port, which may not be 53 2000-06-05 21:52:31 +00:00
Andreas Gustafsson
0a36a0dd9a typo in comment 2000-06-05 21:50:03 +00:00
Andreas Gustafsson
f1f2f8bd47 Wired up the new 'port' option. Also, the interface manager now has
both a 'listen-on' and a 'listen-on-v6' ACL.  We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister
029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
Andreas Gustafsson
a892ddd1bd changed the zone type of the version.bind. CH zone from 'none'
to 'master', as the semantics of zones of type 'none' are not well defined.
Allow zone->dbname to be NULL to support this usage.
2000-06-01 23:11:26 +00:00
Andreas Gustafsson
7d040ee1bd don't log the message 'now using logging configuration from
config file' when said configuration has been overridden with -g
2000-06-01 21:45:45 +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
Andreas Gustafsson
eb3807ea54 support per-view security roots 2000-06-01 00:21:12 +00:00
Andreas Gustafsson
ae792d7f4c silence signed/unsigned warning on alpha 2000-05-30 19:39:22 +00:00
Andreas Gustafsson
c8c884b79b made defaults for max-cache-ttl and max-ncache-ttl the same as in
BIND 8: 7 days and 3 hours, respectively
2000-05-27 00:20:39 +00:00
Andreas Gustafsson
7cd4c3ddd1 The 'cache-ttl' and 'ncache-ttl' options now work 2000-05-26 23:17:56 +00:00
Andreas Gustafsson
6d5b03be41 wired up per-view 'servers' statement 2000-05-25 22:19:34 +00:00
Andreas Gustafsson
c885fad9b8 Wired up the view-specific 'key' statement. 2000-05-25 22:06:51 +00:00
Andreas Gustafsson
507ee70afd partial support for per-view security roots, still waiting
for the config file parser to support them
2000-05-25 21:43:18 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
Andreas Gustafsson
875ad7d99d when reloading the server, zone objects reused with a new
view object still referenced their old view
2000-05-23 04:38:22 +00:00
Brian Wellington
ef9f3246f4 _version zone wasn't set to dns_rdataclass_ch 2000-05-23 01:21:32 +00:00
Brian Wellington
9c2a9c5306 the server could crash if the version string was unassigned. 2000-05-23 00:40:59 +00:00
Andreas Gustafsson
cb726f24e7 renamed variable tzone to dupzone for clarity and simplified
code to clean it up after use - no functional change
2000-05-22 17:07:43 +00:00
Michael Graff
46993e1d9d Merge the mlg-20000518 branch onto the mainline. Change summary:
dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
	a bound, connected TCP socket, while _getudp() will search for
	a sharable UDP socket, and if found, attach to it and return a
	pointer to it.  If one is not found, it will create a udp socket,
	bind it to a supplied local address, and create a new dispatcher
	around it.

	dns_dispatch_remove{request,response}() no longer take the dispatch
	as an argument.

	query-source can now be set per view.

	The dispatch manager holds onto three memory pools, one for
	allocating dispatchers from, one for events, and one for
	requests/replies.  The free list on these pools is hard-coded,
	but set to 1024.  This keeps us from having to dig into the
	isc_mem_t the pools draw from as often.

	dns_resolver_create() and dns_view_createresolver() require that
	valid dispatchers be passed in; dispatchers are no longer created
	for the caller.
2000-05-19 21:46:46 +00:00
Andreas Gustafsson
ea96c33a39 call dns_zone_setview() once and for all when creating a zone;
do not call it again when reconfiguring
2000-05-19 02:34:23 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
Andreas Gustafsson
22608315e8 Fixed multiple shutdown cleanup bugs in the zone object. This
involved extensive restructuring of the reference counting of
zones and related objects.

Zones now attach to their views.  To avoid a circular dependency that
would keep views from ever shutting down, this is done using the new
functions dns_view_weakattach() / dns_view_weakdetach() which
guarantee that the view will not be freed but still allow it
to be shut down.

The zones themselves now only have a single reference count, with
similar "weak" semantics.  Managed zones must now be shut down
explicitly by calling dns_zone_shutdown().  To shut down all
zones in a zone table, call dns_zt_shutdown().

The zone manager is now reference counted, weakly. To shut down the
zone manager, you must explicitly call dns_zonemgr_shutdown().
2000-05-17 19:45:36 +00:00
David Lawrence
34b394b43e DNS_R_RANGE -> ISC_R_RANGE 2000-05-15 21:14:38 +00:00
Michael Graff
ca9739800f implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server. 2000-05-10 21:34:50 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
7193a1762e suppress logging until UID switch to avoid creating log
files as root
2000-05-02 18:45:08 +00:00
Andreas Gustafsson
a0f6cda5fd the 'default_debug' log channel was not set up when
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Mark Andrews
b8dd48ecf8 119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Andreas Gustafsson
900b9aa25e tostruct_key() no longer requires a non-NULL mctx 2000-04-26 01:44:07 +00:00
Andreas Gustafsson
a8277d18aa install logging configuration after relinquishing root privileges
to ensure that log files specified in named.conf are created as
the unprivileged user
2000-04-18 22:17:27 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Michael Graff
be91d96193 spelling check [bug #95] 2000-04-13 22:41:23 +00:00
Bob Halley
d6f63eca91 isc_task_create() API change; cache has its own mctx 2000-04-12 01:38:26 +00:00
Brian Wellington
3ca4d70c58 base64_cstring_tobuffer() was missing a call to isc_buffer_add(). 2000-04-11 20:47:00 +00:00
Andreas Gustafsson
864a05fa26 configuration failed when trusted-keys statement was missing 2000-04-11 17:52:57 +00:00
Andreas Gustafsson
d9b7ec02d9 use the 'trusted-keys' statement to configure security roots 2000-04-11 00:37:59 +00:00
Andreas Gustafsson
84ef83d296 80 columns 2000-04-10 22:00:13 +00:00
Andreas Gustafsson
65e117d576 wired up the 'trusted-keys' config option 2000-04-10 21:31:41 +00:00
Andreas Gustafsson
8571e5ca37 failed to configure default view when there were zone statements
but no explicit views; the unconfigured default view had no resolver and therefore
denied recursion to all clients
2000-04-08 00:49:19 +00:00
Andreas Gustafsson
164f0b0cae configure_view() failed to set result to ISC_R_SUCCESS
on successful completion
2000-04-07 22:37:42 +00:00
Andreas Gustafsson
0c637e129e renamed variable configctx -> cctx for consistency and brevity 2000-04-07 22:36:15 +00:00
Andreas Gustafsson
edcb93b49c wired up view options: request-ixfr, provide-ixfr 2000-04-07 22:30:43 +00:00
Andreas Gustafsson
807b4620fa wired up view option: cleaning-interval 2000-04-07 18:04:24 +00:00
Andreas Gustafsson
dded22b184 comment the fact that cview may be NULL in configure_view;
avoid NULL reference when reporting the (probably impossible) error of
the default view missing root hints
2000-04-07 17:08:12 +00:00
Andreas Gustafsson
8f9f5011b0 assertion failure setting forwarders of default view 2000-04-07 16:23:54 +00:00
Andreas Gustafsson
57423b6cf9 wired up view options 'forward' and 'forwarders' 2000-04-07 01:07:07 +00:00
Andreas Gustafsson
2e097e67d8 wired up view options: allow-query, allow-recursion, allow-transfer;
fixed recently broken creation of default view
2000-04-06 23:58:01 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
66e2dd5001 wired up view options: recursion, auth-nxdomain, transfer-format 2000-04-06 20:25:48 +00:00
James Brister
c47baa985c Name change to two config file functions. 2000-04-06 20:08:34 +00:00
Andreas Gustafsson
1921b4f619 wired up the 'match-clients' view option 2000-04-06 17:31:33 +00:00
Bob Halley
e81af5be3e lint 2000-03-23 20:01:41 +00:00
Andreas Gustafsson
7e03d1e22f wired up the new 'provide-ixfr' option 2000-03-20 21:06:27 +00:00
Andreas Gustafsson
4bc5101166 wired up the new 'request-ixfr' option 2000-03-20 19:42:21 +00:00
David Lawrence
8e12f9c899 style lint 2000-03-14 21:19:31 +00:00
Andreas Gustafsson
1c4fb0e315 wired up the transfer-source-v6 option 2000-03-08 22:31:52 +00:00
David Lawrence
4bcc9c7bdc When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.
2000-03-04 18:30:56 +00:00
Andreas Gustafsson
77668e0fce preserve cache contents when reloading 2000-03-02 23:47:39 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Andreas Gustafsson
32b61e553b foreground mode with logging to stderr is now -g, not -ff 2000-02-29 18:37:14 +00:00
Andreas Gustafsson
f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
604b92d94d removed outdated comment 2000-02-24 21:41:56 +00:00
Andreas Gustafsson
03ccfda9ec the view now has a peer list 2000-02-24 21:12:16 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
9fdf20d0de implemented periodic network interface scanning 2000-02-16 19:58:39 +00:00
Andreas Gustafsson
71385229ce use the UNUSED() macro 2000-02-16 18:21:17 +00:00
James Brister
e3f0a6821c configure_view() was not detaching iplist after use. 2000-02-11 15:29:37 +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
James Brister
35393c5cfa Get query source address and port together 2000-02-09 16:36:19 +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
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Andreas Gustafsson
515277c0e8 function was declared static but defined non-static 2000-01-31 22:06:09 +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
9ee5efde7d pid file support 2000-01-29 01:38:09 +00:00
Bob Halley
bcc1d6507b call ns_os_changeuser() from run_server() 2000-01-28 20:09:49 +00:00
Andreas Gustafsson
6d39d25c55 set configuration lock quotas to 1 2000-01-27 21:20:32 +00:00
Bob Halley
3013dcc59d hint zone support; more error checking of zone 2000-01-27 01:57:08 +00:00
Andreas Gustafsson
143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
James Brister
95ff121ebd removed some platform specific code. 2000-01-26 19:36:18 +00:00
Bob Halley
c14c6f86ae implement query-source 2000-01-26 19:25:22 +00:00
James Brister
44fee66802 Implement deamon-ising (`-f' to run in foreground).
log to syslog if deamon.
implement `-t' option and chroot
2000-01-26 17:35:16 +00:00
Bob Halley
5bd937c666 conform to dns_view_createresolver() API change 2000-01-26 16:59:05 +00:00
Andreas Gustafsson
f5f38e9930 moved listen list reconfiguration code from listenlist.c
to server.c
2000-01-25 21:21:05 +00:00
Bob Halley
e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Andreas Gustafsson
9e694201cf eliminated global variable ns_g_tkeyctx 2000-01-25 19:05:46 +00:00
Andreas Gustafsson
b45b364f22 Handle SIGHUP. Locking is still missing. 2000-01-24 22:21:47 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Andreas Gustafsson
8f16e457f7 dns_rootns_create() is now in libdns 2000-01-22 01:59:02 +00:00
Andreas Gustafsson
036df8a12d exit server if loading a zone fails during initial startup
(but not if it fails during a subsequent reload)
2000-01-22 01:36:34 +00:00
Andreas Gustafsson
c0564c15e7 Massive cleanup of error handling. Now errors in creating
the server object are always fatal, and errors that occur when
reconfiguring an existing server are always nonfatal.
2000-01-21 23:55:12 +00:00
Brian Wellington
bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +00:00
Andreas Gustafsson
cb74b247bf don't needlessly destroy and recreate zones when doing minor reconfigurations;
restructuring and commenting
2000-01-21 19:24:01 +00:00
Andreas Gustafsson
99abbe0bc4 make sure zone manager is not destroyed until tasks have finished 2000-01-19 22:02:18 +00:00
Andreas Gustafsson
8ac1e9e3da eliminate compiler warning on Alpha 2000-01-19 21:25:24 +00:00
Andreas Gustafsson
206a60c0d7 eliminated global variable ns_g_rootns; simplified
server startup/cleanup procedure
2000-01-18 23:38:42 +00:00
Andreas Gustafsson
b23d5b6191 eliminated compiler warning and extra
newline in error message
2000-01-18 22:49:55 +00:00
Andreas Gustafsson
b03758b04e eliminated global variables ns_g_zonemgr and ns_g_clientmgr 2000-01-18 18:09:47 +00:00
Andreas Gustafsson
1d5114b9a4 wired up the new 'tcp-clients' and 'recursive-clients' options 2000-01-17 20:07:31 +00:00
Andreas Gustafsson
0f03a5d6a7 wired up the 'transfers-out' config option 2000-01-15 00:37:31 +00:00
Andreas Gustafsson
a55d0a9080 obey the 'listen-on' configuration option 2000-01-13 23:32:41 +00:00
Andreas Gustafsson
ad61cbe04f previously static server_task is now ns_g_server->task 2000-01-13 22:07:24 +00:00
Andreas Gustafsson
0084a7ed9c reasonable default values for client quotas 2000-01-13 21:17:08 +00:00
Andreas Gustafsson
6b99e640f3 80 columns 2000-01-12 01:19:47 +00:00
Andreas Gustafsson
b778773c61 made server cleanup be more like a mirror image of
the server setup, to ensure that the server object is not destroyed
while still being used
2000-01-12 01:17:34 +00:00
Andreas Gustafsson
559b10cc8f client quotas; added reference counting to ns_interface_t
and ns_interfacemgr_t so that they can safely hold quota information
2000-01-11 21:18:22 +00:00
Andreas Gustafsson
721e468db0 eliminated global variable ns_g_interfacemgr;
rescan interface list on reconfiguration
2000-01-04 22:02:26 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson
ae6851be33 free old tsig/tkey configuration when reloading configuration 1999-12-22 21:23:32 +00:00
Andreas Gustafsson
582732ce15 war on global variables continues: ns_g_viewlist and
ns_g_viewlock are now gone
1999-12-22 18:45:56 +00:00
Andreas Gustafsson
eb1c982e52 dns_c_ctx_get*acl now increment the reference count of the ipml 1999-12-21 21:51:57 +00:00
James Brister
7027fd24a2 Fix name (style) of accessor function used. 1999-12-17 18:27:16 +00:00
Andreas Gustafsson
8f79820c69 wired up the 'cleaning-interval' config option 1999-12-17 01:02:49 +00:00
Andreas Gustafsson
573b8b48d8 Eliminated the global variable ns_g_confctx. The config
data is now kept around only for the duration of the server (re)configuration
process and then immediately freed.
1999-12-17 00:19:29 +00:00
Andreas Gustafsson
6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Andreas Gustafsson
9bd232838e support the "version" config file option 1999-12-08 21:27:08 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
Andreas Gustafsson
fd15c8e32e Views now have a 'cache' field. The 'cachedb' field still
exists as a convenience shortcut / backwards compatibility thing.
1999-12-02 22:38:34 +00:00
Bob Halley
c0d5c5dd26 increase number of tasks, make it prime 1999-11-25 00:12:35 +00:00
Bob Halley
f9d8c276c1 move TSIG and TKEY destroy routines to server.c 1999-11-05 20:20:18 +00:00
Bob Halley
904b918f77 Create a default view for class IN if there are no views defined after
loading the configuration file.
1999-11-02 17:21:47 +00:00
Bob Halley
d55dc2ac56 implement directory option 1999-10-31 19:30:16 +00:00
Brian Wellington
ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Andreas Gustafsson
a474ba139d enabled incoming zone transfer code; there are no SOA
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Andreas Gustafsson
71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Brian Wellington
24e49b2133 TSIG initialization moved until after config file parsing 1999-10-27 20:00:40 +00:00
Brian Wellington
90ace4c9e0 preliminary TKEY support 1999-10-26 15:41:48 +00:00
Bob Halley
73ca2fa486 cache loading 1999-10-25 18:59:20 +00:00
Mark Andrews
6166e52816 move zone loading out of callback 1999-10-25 16:46:15 +00:00
Mark Andrews
936f1c128f add log context to dns_zone_copy()
fix various locking problems in zone.
1999-10-25 13:44:53 +00:00
Bob Halley
b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
Bob Halley
a4b6a1622b really basic logging instead of printf 1999-10-22 19:35:19 +00:00
Andreas Gustafsson
ef0cb3cc5b create a task pool for use by the zones 1999-10-21 00:33:54 +00:00
Andreas Gustafsson
8e99b9ed65 warn about failed zone loads 1999-10-19 19:14:14 +00:00
Bob Halley
016326d111 overhaul loading; get rid of old load scheme 1999-10-15 01:51:48 +00:00
Bob Halley
d60f5b9bc8 Zone support 1999-10-14 01:37:00 +00:00
James Brister
c6e10b826e Add driver and callback skeletons for configuration parsing. 1999-10-13 17:50:21 +00:00
Bob Halley
4fdb67f4eb resolver support checkpoint; partial AD support 1999-10-07 19:44:22 +00:00
Bob Halley
92583b722b rootns support 1999-09-24 01:42:22 +00:00
Andreas Gustafsson
22a33c32fc xfrin_test() is going away 1999-09-23 06:47:28 +00:00
Bob Halley
147c6dd75a conforming to api change 1999-09-22 19:46:46 +00:00
Bob Halley
67b37ae04c conforming changes for new view api 1999-09-22 18:24:35 +00:00
Andreas Gustafsson
0818d0a764 support slave zones 1999-08-27 18:30:00 +00:00
Andreas Gustafsson
41f29959a3 perform journal roll-forward after loading zone 1999-08-20 06:05:07 +00:00
Bob Halley
5787fc1ed4 view cachedb support (API change) 1999-08-12 07:53:05 +00:00
Bob Halley
173b32c660 checkpoint: basic views, version.bind support 1999-08-05 22:14:43 +00:00
Bob Halley
b77cab68c6 checkpoint; crude TCP support 1999-08-05 01:51:32 +00:00
Bob Halley
b4d7972545 checkpoint 1999-07-28 02:20:36 +00:00
Bob Halley
533b047505 overhaul checkpoint 1999-07-24 01:16:38 +00:00
James Brister
eabad792eb Remove old config stuff from build. 1999-07-13 14:24:29 +00:00
Bob Halley
f11d7ffb48 use question rdataset 1999-07-03 21:03:27 +00:00
Andreas Gustafsson
bbe35b2137 ns_interfacemgr_* result codes are DNS_R_*, not ISC_R_* 1999-06-20 11:35:12 +00:00
Andreas Gustafsson
774446ce4d dirty hack to avoid core dump when moving qname from query message to reply message 1999-06-17 14:22:18 +00:00
Bob Halley
4d7d50710d use isc_app_ routines 1999-05-27 01:51:31 +00:00
Andreas Gustafsson
a56af9f8c3 use the interface manager to create sockets and listeners 1999-05-26 06:48:26 +00:00
Andreas Gustafsson
72fb946eb0 replies to tcp queries were offset by two bytes 1999-05-21 05:43:48 +00:00
Michael Graff
97e7d389d5 Clean up after code review 1999-05-14 17:52:11 +00:00
Michael Graff
2726950412 parse dynamic updates, and tsig's right 1999-05-12 19:32:13 +00:00
Bob Halley
8f24d7a7ae change to dns_dbtable_detach 1999-05-12 09:43:22 +00:00
Bob Halley
325c88703c crude multiple zone and cache support 1999-05-03 19:56:23 +00:00
Michael Graff
1b9d5f3925 revert accidential commit 1999-05-02 07:03:13 +00:00
Michael Graff
6d9ae6b3a8 resolve again. 1999-05-02 07:00:05 +00:00
Michael Graff
d20401b765 Get the query/response flag in the right place, and make named return
SERVFAIL on all replies again, until I fix up the database stuff again.
1999-05-01 18:07:52 +00:00
Michael Graff
e690d225ad Make named compile, and start on using message code. This isn't done yet. 1999-04-30 05:42:06 +00:00
Bob Halley
c46bcd7c69 update copyright 1999-03-06 03:55:54 +00:00
James Brister
709f92bb22 Use new lexer/parser. ifdef'd out still. 1999-02-24 00:14:57 +00:00
Michael Graff
882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Bob Halley
fe47f41b13 eliminate compiler warnings (signed vs. unsigned) 1999-02-02 01:18:51 +00:00
Bob Halley
98d3b18373 make mem stats printing optional 1999-02-01 21:11:10 +00:00
Bob Halley
9ec6d5f03d remove various minor compilation warnings 1999-02-01 20:47:58 +00:00
Michael Graff
e5e8a126ab make tcp queries (where the output is slightly offset from the start
of the buffer, for length of tcp packet) work again.
1999-01-31 12:58:16 +00:00
Michael Graff
51c0bc9e3d Actually answers queries! 1999-01-31 12:31:31 +00:00
James Brister
e6ad73aba4 Added calls to parser routines (ifdef'd out for now). 1999-01-30 01:00:20 +00:00
Michael Graff
60cfce122f Code up a dispatch() function which will just return server failure for now.
This makes dig work, and shows that we can actually transmit as well
as receive.  Both UDP and TCP connections work, with the restriction
that a full message must be contained in each TCP write, not split across
two seperate tcp 'packets'.
1999-01-29 06:18:43 +00:00
Michael Graff
7f4db15e68 add tcp client support 1999-01-28 05:52:20 +00:00
Michael Graff
47db0e1d06 checkpoint. udp listener clde split out. 1999-01-20 03:54:54 +00:00
Michael Graff
14b50c163e cleanup, remove warnings 1999-01-19 19:50:10 +00:00
Michael Graff
1840745dd5 Start on server core. Needs cleanup, but it's close to what we think is
the Right Way.
1999-01-19 06:32:53 +00:00