Commit graph

3445 commits

Author SHA1 Message Date
Brian Wellington
f3b52d9fe5 If an uncompressed name will take more than 255 characters and the buffer is
sufficiently long, dns_name_fromwire should return DNS_R_FORMERR, not
ISC_R_NOSPACE.
2000-06-09 01:30:11 +00:00
Michael Graff
9403a56228 checkpoint 2000-06-09 00:11:39 +00:00
Michael Graff
118332fc5c snapshot 2000-06-08 23:42:17 +00:00
David Lawrence
b7c94aa070 maybe that cast to off_t i took out wasn't right, but that's because it should
have been a cast to isc_offset_t rather than being removed
2000-06-08 23:29:59 +00:00
David Lawrence
e46d261abb added void parameter declarator for definition of dst_lib_destroy() 2000-06-08 23:21:15 +00:00
David Lawrence
6ba9a50031 need errno.h for errno 2000-06-08 23:20:01 +00:00
Michael Graff
60a7475dd8 checkpoint 2000-06-08 22:18:53 +00:00
Michael Graff
81b7c342c4 s/ISC_R_ENTROPY/ISC_R_NOENTROPY/g 2000-06-08 22:17:03 +00:00
David Lawrence
c656250292 include void parameter declarator for definition of dst__openssldh_destroy() 2000-06-08 20:52:12 +00:00
David Lawrence
076f3bc6ad use ANSI memset instead of bzero 2000-06-08 20:42:11 +00:00
David Lawrence
e90de0d144 buildfilename() definition needed static attribute of its declaration 2000-06-08 20:38:48 +00:00
Michael Graff
d10733a5a3 add ISC_R_ENTROPY 2000-06-08 19:23:04 +00:00
Andreas Gustafsson
b6007467eb style; no functional change 2000-06-08 18:37:29 +00:00
Andreas Gustafsson
c062bee495 style; no functional change 2000-06-08 18:36:52 +00:00
Michael Sawyer
1378841691 Clean-room version of gai_strerror() to get rid of (C) issues. 2000-06-08 18:32:04 +00:00
Andreas Gustafsson
596089957b cachesize was misspelled as cachezie 2000-06-08 17:26:35 +00:00
James Brister
71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Michael Graff
016742f7d8 add stirring functions and other bits. Snapshot. 2000-06-08 06:35:49 +00:00
Mark Andrews
db06b81059 signed vs unsigned char. 2000-06-08 06:16:09 +00:00
Michael Graff
0aa8742ace minor formatting nit 2000-06-08 05:26:38 +00:00
Michael Graff
1e3c9ce3ab kill a warning on some systems. 2000-06-08 05:26:00 +00:00
Michael Graff
9282e3c21a don't periodically dump the database. I think we're debugged enough by now. 2000-06-08 01:43:21 +00:00
Michael Graff
ccc067f7d5 enable INSIST/REQUIRE() checking of bound status on sockets 2000-06-08 00:23:54 +00:00
Brian Wellington
5388c214e5 Correctly fix type for rbtdb64_create 2000-06-08 00:06:50 +00:00
Michael Graff
332e078f6e fix type for rbtdb64_create, too 2000-06-07 22:29:00 +00:00
Michael Graff
270ad529d3 snapshot 2000-06-07 22:15:55 +00:00
Michael Graff
090ac4fa1c Use ip6.arpa for bitstring labels 2000-06-07 22:02:22 +00:00
Michael Graff
17b8fc714a snapshot 2000-06-07 20:55:12 +00:00
Michael Graff
a14eb88840 clamp ttls in the adb to be 10 < ttl < 86400, that is, 10 seconds minimum and 24 hours max 2000-06-07 20:15:48 +00:00
Michael Graff
90407942d3 Use autoconf's AC_C_BIGENDIAN macro to detect endian flavor, and use WORDS_BIGENDIAN from config.h{,.in} 2000-06-07 19:41:49 +00:00
Brian Wellington
b01324ef07 Removed unused DST_R_NAMETOOLONG result code 2000-06-07 19:18:53 +00:00
Brian Wellington
76513c0271 Removed errant call to dns_rdata_freestruct, cleaned up an error case. 2000-06-07 19:05:45 +00:00
Brian Wellington
c892129a37 isc_buffer_base->isc_buffer_used 2000-06-07 19:05:00 +00:00
Brian Wellington
78d14e388a Use MD5/SHA1 from libisc instead of dst/openssl 2000-06-07 17:22:31 +00:00
Mark Andrews
80ee8ea28d Consolidation and cleanup of stub code. 2000-06-07 06:14:52 +00:00
Mark Andrews
0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
265086fc36 Added comments. 2000-06-07 03:12:13 +00:00
Mark Andrews
2a3e99550d 240. [func] databases now come in three flavours: zone, cache
and stub.

 Add stubs zones support checkpoint.
 notify_t -> dns_notify_t
2000-06-07 02:40:42 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
bb36b3102c Use the isc md5 routines instead of dst. 2000-06-07 02:33:46 +00:00
Brian Wellington
1ee3b153b6 Added length constants, changed _final parameter from array to pointer. 2000-06-07 02:28:43 +00:00
Michael Graff
fbb2ab3056 md5 endian doesn't seem to matter? 2000-06-07 02:21:39 +00:00
Brian Wellington
77c67dfb26 Repeatedly querying for nonexistant data could lead to a crash. 2000-06-07 01:32:47 +00:00
Michael Graff
f2314fbd79 fix comments 2000-06-07 01:17:06 +00:00
Michael Graff
db4871e843 complain if BYTE_ORDER isn't defined 2000-06-07 01:14:26 +00:00
Michael Graff
bb2d54f1b3 build md5.c 2000-06-07 00:49:04 +00:00
Michael Graff
801c511ecd s/u_int/unsigned int/g 2000-06-07 00:30:42 +00:00
Michael Graff
676c534c8d We really don't need to export the sha1 transform() function, it is internal only. 2000-06-07 00:22:32 +00:00
Michael Graff
74da616f07 add sha1 implementation 2000-06-07 00:15:19 +00:00
David Lawrence
003a40178f make DNS_RDATACOMMON_INIT work again. structure elemnts had the same name as
the downcased macro argument names
2000-06-07 00:11:51 +00:00
Brian Wellington
3aec811249 fixed memory leak on TSIG BADSIG 2000-06-06 23:44:13 +00:00
David Lawrence
92ab6defb6 don't redefine DNS_RBT_ANCESTORBLOCK to a tiny size when ISC_MEM_DEBUG is
defined, as it is by default now.  huge performance hit that we would
likely have been slow to notice if not for the t_rbt chain tests
having a bug. :-)
2000-06-06 23:25:29 +00:00
David Lawrence
49f64feb02 removed an irrelevant cast to off_t in the offset wraparound check.
the expression in question is already of type isc_offset_t, which
is just a typedef for off_t.
2000-06-06 22:28:21 +00:00
David Lawrence
5fda9ca75a redefined ISC_OFFSET_MAXIMUM 2000-06-06 22:10:10 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
Brian Wellington
4441bfbd6b More dst updates:
- dst_lib_init()/dst_lib_destroy() allow dst to use a predefined
	  mctx and free all resources on exit.
	- dst_key_tofile() & dst_key/fromfile() take a directory parameter.
	- dst_key_parsefile() removed, replaced by dst_key_fromnamedfile()
	- more bug fixes and memory leak fixes
2000-06-06 21:58:16 +00:00
Brian Wellington
46734259ca Replace the calls to openssl error routines with stubs, since the calls
allocate memory somewhere which isn't being freed.
2000-06-06 20:40:28 +00:00
Brian Wellington
54ef500660 Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
defaulting to ISC_FALSE.
2000-06-06 18:07:38 +00:00
Brian Wellington
4c050ce9dc typo 2000-06-06 17:57:58 +00:00
Brian Wellington
36bcb04af2 If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
whether messages are printed or not.
2000-06-06 17:50:43 +00:00
Andreas Gustafsson
f6684513fa style; no functional change 2000-06-06 17:50:38 +00:00
Andreas Gustafsson
ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
Andreas Gustafsson
ad7209ea70 style, no functional change 2000-06-06 17:43:21 +00:00
David Lawrence
bb808665b4 removed unused stack variable "ctx" from dnssafersa_verify() 2000-06-06 16:35:59 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
fccbca2cdf style lint; macro parameter names are lowercase 2000-06-06 15:23:26 +00:00
David Lawrence
9e532f8f5e use ISC_TF to assign an isc_boolean_t 2000-06-06 15:21:46 +00:00
David Lawrence
febb976e2e dnssafersa_verify() was failing because it used isc_buffer_used() where it
needed isc_buffer_base().
2000-06-06 15:16:45 +00:00
James Brister
616c83b78b temporarily disable code that validates listen-on and listen-on-v6 lists. 2000-06-06 14:20:03 +00:00
Mark Andrews
7ed73313b1 Add function to determine whether a given request used TCP or not. 2000-06-06 02:07:13 +00:00
Mark Andrews
ba6f0d85b4 Add macro to initalise the common part of a rdata struct. 2000-06-06 02:03:23 +00:00
Mark Andrews
d2b5fe92a4 Generate dependancies for dot 'h' files made by gen. 2000-06-06 02:01:41 +00:00
Andreas Gustafsson
9c11326b18 237. [bug] If connect() returned ENOBUFS when the resolver was
initiating a TCP query, the socket didn't get destroyed,
                        and the server did not shut down cleanly.  [RT #107]
2000-06-05 22:31:54 +00:00
David Lawrence
b1a8714e07 cast void *isc_buffer_used() to char * for pointer arithmetic 2000-06-05 22:20:04 +00:00
James Brister
c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
Andreas Gustafsson
abf2e095fb config code now guarantees that port number is set in the
also-notify list
2000-06-05 21:54:28 +00:00
James Brister
d5399cc351 Allow a trusted-key's first field (domain-name) be either a quoted or
an unquoted string, instead of requiring a quoted string.
2000-06-05 20:32:01 +00:00
Brian Wellington
b70f6ae9d0 missing call to dst_context_destroy 2000-06-05 20:01:07 +00:00
Brian Wellington
b15d35d4e6 use the dst md5 layer instead of openssl md5, replace verify with sign & compare 2000-06-05 19:10:58 +00:00
Brian Wellington
9ee00c4fa0 use the dst md5 layer instead of dnssafe md5 2000-06-05 19:10:27 +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
Mark Andrews
ac3b769801 232. [bug] Allow slave zones to not have a file. 2000-06-05 03:44:17 +00:00
James Brister
69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Michael Graff
527bf54995 s/u_int32_t/isc_uint32_t/g 2000-06-03 05:38:29 +00:00
Michael Graff
2f1059efb7 checkpoint 2000-06-03 02:15:08 +00:00
Brian Wellington
aeca99a602 Don't dereference a pointer before assigning it. 2000-06-03 00:43:46 +00:00
Brian Wellington
e27021ee1f Certain negative responses could crash the validator.
The insecurity proof code didn't check to see if the name was below a security
root.
2000-06-03 00:18:43 +00:00
Brian Wellington
e8325473bc typos 2000-06-02 23:44:52 +00:00
Andreas Gustafsson
f266030dc3 RT #129: the journalling code assumed (and indeed INSISTed) that the
in-core and on-disk representations of a journal file offset be the same size.
This restriction has now been lifted.
2000-06-02 23:43:17 +00:00
Brian Wellington
182706b2e9 more dst updates 2000-06-02 23:36:14 +00:00
Michael Graff
9f732d73da put the correct (new) socket on the linked list, not the existing (listen) socket. 2000-06-02 20:09:01 +00:00
Brian Wellington
4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
Brian Wellington
011463c376 New DST API for signing/verifying, as well as some reorganization, cleanup,
and bug fixes.
2000-06-02 18:57:51 +00:00
Brian Wellington
ac37a32d23 If isc_log_settag() was used to set a non-NULL tag, the allocated memory
was never freed.
2000-06-02 18:15:45 +00:00
Andreas Gustafsson
35af0018dd made isc_sockaddr_totext() return failure rather than catch an
assertion when confronted with an unsupported address family, like it used to
before it was changed to use isc_netaddr_totext() internally
2000-06-02 17:48:31 +00:00
Andreas Gustafsson
11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
David Lawrence
f8faa9fe09 my last revision created a dns_rdataclass_* enum that had a comma after the
last idenfier, and IRIX whined about it.  Repeatedly.  Sigh.
2000-06-02 03:26:17 +00:00
David Lawrence
97741ef83e ndata and offsets for dns_rootname and dns_wildcardname need to be
unsigned char * (not char *) to match the ndata and offsets in dns_name_t.
2000-06-02 03:18:12 +00:00
Michael Graff
0a161e9da7 use a linked list, rather than a counter, to keep track of sockets. This makes
debugging easier.  Also, while here, s/EMPTY/ISC_LIST_EMPTY/g
2000-06-02 01:27:27 +00:00
David Lawrence
1c70c5ee90 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
Andreas Gustafsson
3755da41db reformatting; no functional change 2000-06-02 00:20:46 +00:00
Andreas Gustafsson
c7298a2f0e dns_name_totext() now always prints the root name as '.',
even when omit_final_dot is true
2000-06-02 00:19:37 +00:00
Andreas Gustafsson
a3c0a79b61 dns_name_totext() now always prints the root name as '.',
even when omit_final_dot is true
2000-06-02 00:14:02 +00:00
Andreas Gustafsson
8edbb66acd #include <errno.h> no longer needed now that we use isc_file_* 2000-06-02 00:05:30 +00:00
Andreas Gustafsson
658dc22047 no need to check for a port number of zero in master addresses as
the configuration code now guarantees that the port numbers have been
set in the masters list
2000-06-01 23:17:46 +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
b3352f568a removed outdated comment 2000-06-01 22:34:03 +00:00
Andreas Gustafsson
11a91ac55e call isc_task_setname() on the dispatch tasks 2000-06-01 22:00:09 +00:00
David Lawrence
0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
b8f0fedbe7 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 19:14:59 +00:00
David Lawrence
50bd180f4b lwres_gai_strerror()'s return value is massaged to remove the const qualifier,
as specified by RFC 2133.   It's still ultimately const, just not with
the qualifier.
2000-06-01 19:11:21 +00:00
David Lawrence
a5e5d67faa gai_strerror is spec'd by RFC 2133 as char *, with no const qualifier.
I'll have to see about how this can be handled more suitably by the code,
but for now, the return value has been revered to not being const qualified.
2000-06-01 18:29:27 +00:00
David Lawrence
6d12fdf966 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.

The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.

rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.

Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast.  The type of an
enum member is int, so there are some conversion issues there, too.)

A pointers-to-function should not be cast to a pointer-to-object.

Variables should not be named for C reserved identifiers.

One or two set-but-not-used variables removed.

Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence
8612a0d515 gai_strerror returns const char * now; this change was (erroneously) only made
to netdb.h in my local tree, not to the file that generates it ...
2000-06-01 18:10:37 +00:00
Brian Wellington
89dabedbd0 make lwres_gai_strerror return char *, not const char *. This now matches the
prototype in include/lwres/netdb.h (which was causing a compile failure) and
the strerror man pages.
2000-06-01 18:06:31 +00:00
Andreas Gustafsson
b8c7678461 style; no functional change 2000-06-01 18:04:37 +00:00
David Lawrence
ca81c3971c 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 17:39:26 +00:00
David Lawrence
44bd41cce3 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.
2000-06-01 17:33:39 +00:00
David Lawrence
87cafc5e70 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.

The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson
fd6de7af32 refer to RFC2845, not draft-ietf-dnsext-tsig-00.txt 2000-06-01 16:47:26 +00:00
Andreas Gustafsson
4831695ebe no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices 2000-06-01 16:40:23 +00:00
David Lawrence
ee205e0662 [rt #128] removed redundant result check from dns_xfrin_create.
char *msg parameter to xfrin_fail made const.
2000-06-01 13:48:55 +00:00
Brian Wellington
399fe4aa0f Lots of bugs fixed in _fromfile and _fromdns. There were enough of them that
they managed to hide each other in most cases.
2000-06-01 02:33:26 +00:00
Brian Wellington
b058593410 Passed incorrect size to isc_mem_get. 2000-06-01 02:04:38 +00:00
Brian Wellington
2321de58e5 Added #include <isc/netaddr.h>, since in_port_t wasn't defined. 2000-06-01 02:04:01 +00:00
Brian Wellington
7a97b7630f dns_message_gettsig/getsig0 cleanup 2000-06-01 01:30:55 +00:00
Andreas Gustafsson
92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Brian Wellington
fe0e3c7707 Rename message->tsigset/querytsigset to tsig/querytsig. 2000-05-31 23:58:35 +00:00
Brian Wellington
91268e69b0 Don't directly access the TSIG field of the message. 2000-05-31 23:57:45 +00:00
Andreas Gustafsson
e6ec99f169 commented 2000-05-31 23:35:09 +00:00
Michael Graff
bfd98dd959 don't log ports where they don't make sense 2000-05-31 23:03:01 +00:00
Brian Wellington
75f6c57d95 When an rdataset is signed, its ttl is normalized based on the signature
validity period.
2000-05-31 22:01:39 +00:00
Andreas Gustafsson
5416faa397 Fixed RT #127. After the changes of zone.c 1.120, the variable
'soa' was no longer used, but it was still freed (sometimes)
2000-05-31 21:13:57 +00:00
James Brister
725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
b6e9d91ff0 dns_message_rendersection left the buffer in a corrupted state if there
was reserved space in the message and the section had no names.
2000-05-30 23:47:56 +00:00
Brian Wellington
0f80bfec68 The message code now has functions to manipulate TSIG and SIG(0), and the
callers use these functions.  Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington
8c8b6b1ce5 include isc/buffer.h, dns/rdatastruct.h 2000-05-30 22:30:39 +00:00
Brian Wellington
090601a51c include dns/rdatastruct.h 2000-05-30 22:30:13 +00:00
Brian Wellington
f1788d67ad include isc/buffer.h 2000-05-30 22:29:28 +00:00
Brian Wellington
451a3c5262 include isc/buffer.h, dns/name.h, dns/rdatastruct.h 2000-05-30 22:28:37 +00:00
Mark Andrews
48841a4ae9 When checking for notifies in the queue first check to see if a request has
been sent.

Check DNS_ZONE_F_NEEDREFRESH when we have got to the last master in
refresh_callback.
2000-05-29 05:47:18 +00:00
Brian Wellington
7077846f3b minor cleanup 2000-05-27 00:24:07 +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
Brian Wellington
9a4a878733 removed debugging code 2000-05-26 22:03:47 +00:00
Brian Wellington
ca9af3aaf7 Lots of restructuring to make code easier to follow. Also a few bugs fixed,
and hopefully not too many new ones introduced.
2000-05-26 21:45:53 +00:00
Andreas Gustafsson
396dba6250 added /*FALLTHROUGH*/ comments where appropriate 2000-05-26 18:18:12 +00:00