Commit Graph
2993 Commits
Author SHA1 Message Date
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 53aed64e0f add missing .cvsignore files 2001-03-06 01:51:34 +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
Brian Wellington b9a99f0772 remove 'ans.run' files 2001-03-05 22:54:08 +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 9c2e820b3b new test for exercising cache cleaning 2001-03-05 12:50:08 +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 494e26b333 clean up properly 2001-03-04 21:17:42 +00:00
Brian Wellington 8d0ee7a153 named-checkconf now uses the new config parser 2001-03-03 23:11:36 +00:00
Brian Wellington 626f97e223 allow-update is not allowed in slave zones 2001-03-02 02:44:51 +00:00
Andreas Gustafsson f65a42f377 exit with a nonzero status if there were errors 2001-03-01 02:35:13 +00:00
Mark Andrews 23f3b516f7 INSTALL_DATA vs INSTALL_PROGRAM 2001-02-28 11:33:23 +00:00
Brian Wellington 2fa9cf0bf9 remove extraneous spaces 2001-02-28 03:05:01 +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 abf25eafee - update get_address() match the one in dig
- remove the call to get_address when parsing the 'local' statement,
  since it can't be a hostname.
2001-02-24 21:02:38 +00:00
Brian Wellington 3bb043a8b8 753. [bug] dig, host, and nslookup would fail to contact a
remote server if getaddrinfo() returned an IPv6
                        address on a system that doesn't support IPv6.
2001-02-24 20:53:26 +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
Brian Wellington 7a224ba59b test that validation of an ANY query returning a DNAME works 2001-02-23 06:22:11 +00:00
Brian Wellington 529d1b9ada test that validation of a query returning a DNAME works 2001-02-23 06:14:44 +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
Andreas Gustafsson 2cb79d0f48 example code using cfg_tuple_get() 2001-02-22 04:17:57 +00:00
Brian Wellington fa342c624a Added start.sh and stop.sh, which read the values from conf.sh into the
environment and call the perl scripts.
2001-02-21 20:11:34 +00:00
Brian Wellington 4f91c46a42 Test that both normal and ANY queries that match a CNAME are properly
validated.
2001-02-21 06:47:45 +00:00
Brian Wellington a41ab607a4 Test that validation of ANY queries works. Also add data to be used for
CNAME/DNAME tests, but not the tests yet since they fail.
2001-02-20 18:33:50 +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 e6743c1b25 Don't call get_address when processing "-b address". The address can't be a
host name, and if it's not a valid address, it would call isc_app_block()
and assert since isc_app_run() had not been called yet before calling the
resolver.  This could be seen by running:
	dig @localhost xbill.org -b 127.0.0.1:1111
which now exits with an error.
2001-02-17 20:27:24 +00:00