Commit Graph
1125 Commits
Author SHA1 Message Date
David Lawrence cbcf2bf6e9 removed "max_cache_size = 0" line, allowing cache limiting 2001-03-08 01:38:39 +00:00
Brian Wellington 8b9b498009 Check for duplicate zone and key statements. Note that duplicate server
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
Andreas Gustafsson 668f06c071 removed comments that no longer apply with the new
config code
2001-03-08 00:06:19 +00:00
Andreas Gustafsson c434887bd5 compiler warning 2001-03-07 22:07:06 +00:00
Andreas Gustafsson c1e4e35ee4 #include <isc/print.h> 2001-03-07 22:04:11 +00:00
Brian Wellington d25dd5b056 770. [func] Add the "edns yes_or_no" statement to the server
clause. [RT #524]
2001-03-06 23:54:37 +00:00
Brian Wellington 7c294304af Fix a few places where the new config code would fail if there was no
config file (-c /dev/null).
2001-03-06 19:04:42 +00:00
Bob Halley 7c058f1c38 remove incorrect CNAME/DNAME dead-end code from NXDOMAIN handling 2001-03-06 06:57:47 +00:00
Mark Andrews 0c13f7af64 Document under what conditions client_allocsendbuf() is allowed to return
ISC_R_NOSPACE.  Add an INSIST to catch changes to callers.
2001-03-06 04:18:42 +00:00
Brian Wellington 668acc6107 remove a few references to deleted headers 2001-03-06 02:49:29 +00:00
Brian Wellington 5966e86744 Oops, revert an inadvertent checkin. 2001-03-06 02:40:13 +00:00
Brian Wellington 8772b86369 parse the listen-on-v6 statement, not listen-on a second time. 2001-03-06 01:57:19 +00:00
Brian Wellington 952a55000a Remove the 4k UDP send buffer from the client object; use an array on the
stack instead.
2001-03-06 01:24:40 +00:00
Bob Halley 4e3f8e480f fix memory leaks in query_find() 2001-03-05 21:38:20 +00:00
Brian Wellington e43b9a2005 move compression context create/delete into the caller of the message
rendering functions.  This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Bob Halley 58eb053ed2 Restructure default value code in set_limit to eliminate compiler warning.
(The previous code worked, but the compiler couldn't figure out that
value was always defined because of the INSIST().)

heartbeat_interval was being used without being initialized.
2001-03-05 17:20:48 +00:00
David Lawrence ccf4c8616e AIX was extremely unhappy about unescaped literal newlines in a multiline
string.

ns_config_getzonetype was declared in the header to return dns_zonetype_t,
but in the source file to return isc_result_t.  The former is correct.
2001-03-05 13:43:14 +00:00
David Lawrence 0015ab0974 initialized some variables to silence warning 2001-03-05 12:04:46 +00:00
David Lawrence 371fd91f91 initialize ztype in ns_config_getzonetype() to silence warning 2001-03-05 11:49:15 +00:00
Brian Wellington 74e8f55ff5 #include <config.h> 2001-03-04 22:28:32 +00:00
Brian Wellington 90c099e88e 762. [feature] named now uses the new configuration parser. 2001-03-04 21:21:39 +00:00
Brian Wellington 48755e1737 Don't log that there are no ipv6 interfaces if built with --disable-ipv6. 2001-02-27 04:20:44 +00:00
Mark Andrews ed0a4f1a30 757. [func] Log zone transfers. 2001-02-26 03:52:30 +00:00
Brian Wellington 1d8cbe855f missed a few prctl.h changes 2001-02-24 23:06:34 +00:00
Brian Wellington f8727bd903 check for <sys/prctl.h>, not <linux/prctl.h> [RT #679] 2001-02-24 23:05:09 +00:00
Brian Wellington 6fd0827482 Remove notify forwarding. 2001-02-24 00:59:00 +00:00
Brian Wellington cd3ea9f0cf remove NOMINUM_PUBLIC around dns_zone_setmasterswithkeys 2001-02-24 00:35:12 +00:00
Brian Wellington c6f7fb355d update a comment 2001-02-23 22:38:28 +00:00
Andreas Gustafsson dc9870de55 missed one instance of bug fixed in previous change 2001-02-22 23:39:11 +00:00
Andreas Gustafsson e672999714 client_create() could return ISC_R_SUCCESS when it failed 2001-02-22 23:16:59 +00:00
Brian Wellington ea544b0511 747. [bug] The code to determine whether an IXFR was possible
did not properly check for a database that could
                        not have a journal. [RT #908]
2001-02-22 19:15:01 +00:00
Brian Wellington 50448dc92a typo 2001-02-18 21:20:29 +00:00
Brian Wellington b270a97754 Fix a case where the client could theoretically not free a temporary name.
It'll never happen, since dns_rdata_tostruct() cannot fail when passed a NULL
mctx, but it's more correct this way.
2001-02-18 05:56:16 +00:00
Brian Wellington b79adacaad Add more authors. 2001-02-17 01:09:22 +00:00
Andreas Gustafsson 7aff04f5d0 removed unused struct field client::disconnect 2001-02-15 23:42:54 +00:00
Andreas Gustafsson 08b48bdf45 missing space between words in error message 2001-02-15 19:38:09 +00:00
Andreas Gustafsson f915bbfc2d rdatas constructured by query_addcnamelike() always had
type CNAME, even when part of a non-CNAME rdataset
2001-02-14 19:32:30 +00:00
Andreas Gustafsson 65a66336a6 redid configuration locking using isc_task_beginexclusive()
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Brian Wellington dc5415c9fd comment update 2001-02-14 03:01:12 +00:00
Andreas Gustafsson 1dd8ee4fd5 fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington bf5c44f380 ISC_R_INPROGRESS should not be propagated out of client_sendpkg. 2001-02-14 01:46:59 +00:00
Mark Andrews e1066e3f98 add named.8 2001-02-13 06:27:26 +00:00
Brian Wellington 2d1db4e2c0 Allocate events in the client structure, and use isc_socket_sendto2()
and isc_socket_recv2() for sending and receiving packets.  In the send
case, pass the IMMEDIATE flag to avoid receiving an event on send completion
if possible.
2001-02-12 21:45:37 +00:00
Brian Wellington 2ba06bbf5a cut-and-paste-o 2001-02-12 20:26:11 +00:00
Mark Andrews 0aba05dc81 named.8 -> named.8.in 2001-02-12 04:53:20 +00:00
Mark Andrews 070fc7e7e1 named.8 is now processed by configure. 2001-02-12 04:50:47 +00:00
Brian Wellington 319d2971f1 When the client informs the dispatcher of a received response, have the
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Andreas Gustafsson a771e5c797 removed outdated comment 2001-02-09 21:25:55 +00:00
Bob Halley 4ff3597979 In ns_server_setdebuglevel():
Fixed "comparison of unsigned expression < 0 is always false".
	Marked server parameter as UNUSED.
2001-02-08 18:01:33 +00:00
Brian Wellington dfceef7e68 rndc trace now takes an optional level parameter. 2001-02-07 00:50:44 +00:00