Commit Graph

70 Commits

Author SHA1 Message Date
Evan Hunt
65e144e0de [v9_9] isc_errno_toresult()
4445.	[cleanup]	isc_errno_toresult() can now be used to call the
			formerly private function isc__errno2result().
			[RT #43050]

(cherry picked from commit ddef16e1d9)
2016-08-17 11:37:51 -07:00
Tinderbox User
720210eb56 update copyright notice / whitespace 2016-08-09 00:26:28 +00:00
Mark Andrews
39344a5739 4431. [bug] named-checkconf now checks the rate-limit clause.
[RT #42970]

(cherry picked from commit 632e67baa6)
2016-08-09 00:00:20 +10:00
Mark Andrews
b283aa31fc do not overflow exit status. [RT #42643]
(cherry picked from commit 3635d8f910)
2016-06-14 14:51:25 +10:00
Tinderbox User
c88775524d update copyright notice / whitespace 2016-05-05 23:47:00 +00:00
Mark Andrews
a6238a920b 4359. [bug] Inherited 'also-notify' lists were not being checked
by named-checkconf. [RT #42174]

(cherry picked from commit 594d15df25)
2016-05-05 22:01:57 +10:00
Tinderbox User
03dee95971 update copyright notice / whitespace 2016-02-23 23:46:37 +00:00
Mukund Sivaraman
f073ab5de0 Test bin/tests/system/checkconf/good-*.conf
(cherry picked from commit 77fe016206)
2016-02-23 13:01:19 +05:30
Mukund Sivaraman
16aab138b3 Fix allocation for "none" ACL that caused assertion failure (#41745)
(cherry picked from commit 293a9e9978)
(cherry picked from commit c685f0d741)
2016-02-23 13:01:16 +05:30
Mark Andrews
cbf91c5377 copyrights / whitespace 2016-02-11 10:47:24 +11:00
Mukund Sivaraman
cab5a2b180 Check that configured view class isn't a meta class (#41572)
(cherry picked from commit 0c29904b27)
(cherry picked from commit 0b46608d6e)
2016-02-08 14:04:40 +05:30
Tinderbox User
ecbbfd3a88 update copyright notice / whitespace 2015-12-16 23:46:16 +00:00
Mark Andrews
71eafb2cb8 perform a more complete cleanup after running system tests [rt41255]
(cherry picked from commit ecfedec0e0)

Conflicts:
	bin/tests/system/acl/clean.sh
	bin/tests/system/addzone/clean.sh
	bin/tests/system/allow_query/clean.sh
	bin/tests/system/autosign/clean.sh
	bin/tests/system/case/clean.sh
	bin/tests/system/checknames/clean.sh
	bin/tests/system/dlzexternal/clean.sh
	bin/tests/system/dscp/clean.sh
	bin/tests/system/ednscompliance/clean.sh
	bin/tests/system/emptyzones/clean.sh
	bin/tests/system/formerr/clean.sh
	bin/tests/system/forward/clean.sh
	bin/tests/system/glue/clean.sh
	bin/tests/system/limits/clean.sh
	bin/tests/system/lwresd/clean.sh
	bin/tests/system/masterfile/clean.sh
	bin/tests/system/names/clean.sh
	bin/tests/system/nslookup/clean.sh
	bin/tests/system/nsupdate/clean.sh
	bin/tests/system/sfcache/clean.sh
	bin/tests/system/sit/clean.sh
	bin/tests/system/sortlist/clean.sh
	bin/tests/system/stub/clean.sh
	bin/tests/system/xferquota/clean.sh

(cherry picked from commit f9c9fce5c7)

Conflicts:
	bin/tests/system/digdelv/tests.sh
	bin/tests/system/dlzexternal/clean.sh
	bin/tests/system/formerr/clean.sh
	bin/tests/system/resolver/clean.sh
	bin/tests/system/rndc/clean.sh
	bin/tests/system/rrl/prereq.sh
	bin/tests/system/sit/clean.sh
	bin/tests/system/tkey/clean.sh
	bin/tests/system/zonechecks/clean.sh
	lib/export/isc/nothreads/include/Makefile.in
2015-12-16 17:04:30 +11:00
Tinderbox User
c45ebf6131 update copyright notice / whitespace 2015-09-14 23:46:06 +00:00
Evan Hunt
a1021b8945 [v9_9] spurious spaces in named-checkconf -p
4205.	[bug]		'named-checkconf -p' could include unwanted spaces
			when printing tuples with unset optional fields.
			[RT #40731]
2015-09-14 08:53:25 -07:00
Tinderbox User
86634ce4c2 update copyright notice / whitespace 2015-09-10 23:47:14 +00:00
Mark Andrews
428fd64aea 4194. [bug] named-checkconf -p failed to properly print a port
range.  [RT #40634]

(cherry picked from commit fbd9aaa58c)
2015-09-09 16:50:31 +10:00
Tinderbox User
26846a23ab update copyright notice / whitespace 2015-08-12 23:46:15 +00:00
Mark Andrews
d9ce8a0667 4172. [bug] Named / named-checkconf didn't handle a view of CLASS0.
[RT #40265]

(cherry picked from commit 151f1bcd5e)
2015-08-12 19:06:41 +10:00
Tinderbox User
7e35cef570 update copyright notice / whitespace 2015-01-08 23:46:12 +00:00
Mark Andrews
94124ad484 4031. [bug] named-checkconf -z failed to report a missing file
with a hint zone. [RT #38294]

(cherry picked from commit d1f1f13c7f)
2015-01-08 19:20:31 +11:00
Mark Andrews
332652409f 3958. [bug] Detect when writeable files have multiple references
in named.conf. [RT #37172]

(cherry picked from commit 386d6c08167bc048dfd20e3bba051a5f9d3cc545)
2014-09-29 11:32:52 +10:00
Mark Andrews
42b68f99bc update-copyrights 2014-08-29 10:18:38 +10:00
Evan Hunt
d5669ee77c [v9_9] fixes to checkconf test, HIP casecompare
3933.	[bug]		Corrected the implementation of dns_rdata_casecompare()
			for the HIP rdata type.  [RT #36911]

3932.	[test]		Improved named-checkconf tests. [RT #36911]

(cherry picked from commit 0c2313eb36)
2014-08-27 21:37:40 -07:00
Mark Andrews
2e921e858e 3899. [bug] "request-ixfr" is only applicable to slave and redirect
zones. [RT #36608]

(cherry picked from commit 275a8affe7)
2014-07-25 14:25:46 +10:00
Evan Hunt
6cad9ab49c [v9_9] allow null "file" for alternate db zones
3803.	[bug]		"named-checkconf -z" incorrectly rejected zones
			using alternate data sources for not having a "file"
			option. [RT #35685]

(cherry picked from commit baad8d9fd8)
2014-04-07 13:44:40 -07:00
Tinderbox User
a10a1ba69f update copyright notice 2014-03-31 23:45:30 +00:00
Mukund Sivaraman
8da4c8daec 3795. [bug] Make named-checkconf detect raw masterfiles for
hint zones and reject them. [RT #35268]

Squashed commit of the following:

commit 5b0254711d6b77940d6217b9131b9d401df8a866
Author: Mukund Sivaraman <muks@isc.org>
Date:   Fri Mar 28 02:09:01 2014 +0530

    Remove redundant helper function

commit a4341c1a2ba830c8cee1def57a533f987f67c3dc
Author: Mark Andrews <marka@isc.org>
Date:   Thu Jan 30 10:08:17 2014 +1100

    error out if masterfile-format raw is specified for a hint zone.

(cherry picked from commit ef9334d745)
2014-03-31 04:59:47 +05:30
Tinderbox User
71777a84fa update copyright notice 2014-03-17 23:45:28 +00:00
Evan Hunt
52cbef6c95 [v9_9] skip unnecesary also-notify data
3713.	[bug]		Save memory by not storing "also-notify" addresses
			in zone objects that are configured not to send
			notify requests. [RT #35195]

(cherry picked from commit e45d0508c3)
2014-03-14 10:57:51 -07:00
Evan Hunt
860eadb994 [v9_9] check allow-update in view/options
3787.	[bug]		The code that checks whether "auto-dnssec" is
			allowed was ignoring "allow-update" ACLs set at
			the options or view level. [RT #29536]

(cherry picked from commit 22e29471c7)
2014-03-12 21:39:31 -07:00
Mark Andrews
14d98f724e update copyrights 2014-01-11 07:10:14 +11:00
Mark Andrews
81a8977eeb 3701. [func] named-checkconf can now suppress the printing of
shared secrets by specifying '-x'. [RT #34465]

(cherry picked from commit ff6de396a9)
2014-01-10 17:39:39 +11:00
Tinderbox User
0b915a7770 update copyright notice 2013-12-21 23:45:39 +00:00
Evan Hunt
2354181226 [v9_9] warn if key-directory doesn't exist
3694.	[bug]		Warn when a key-directory is configured for a zone,
			but does not exist or is not a directory. [RT #35109]

(cherry picked from commit c14ba71070)
2013-12-20 14:57:58 -08:00
Evan Hunt
2254826e4c [v9_9] check hint files in named-checkconf -z
3676.	[bug]		"named-checkconf -z" now checks zones of type
			hint and redirect as well as master. [RT #35046]

(cherry picked from commit d999ca28d4)
2013-11-25 12:30:59 -08:00
Tinderbox User
229809a446 update copyright notice 2013-09-16 23:45:41 +00:00
Tinderbox User
09520bf8c4 update copyright notice 2013-06-05 23:45:41 +00:00
Mark Andrews
5123e11853 3582. [bug] Silence false positive warning regarding missing file
directive for inline slave zones.  [RT #33662]
(cherry picked from commit 1e34fe9044)
2013-06-04 11:36:12 +10:00
Evan Hunt
d5f677ea47 [v9_9] accept >4g max-{,a}cache-size
3505.	[bug]		When setting "max-cache-size" and "max-acache-size",
			larger values than 4 gigabytes could not be set
			explicitly, though larger sizes were available
			when setting cache size to 0. This has been
			corrected; the full range is now available.
			[RT #32358]
(cherry picked from commit 2a184ff865)
2013-02-28 09:36:50 -08:00
Tinderbox User
5af7157916 update copyright notice 2013-02-27 23:45:44 +00:00
Evan Hunt
dc93e35701 [v9_9] better zone-statistics syntax
3501.	[func]		zone-statistics now takes three options: full,
			terse, and none. "yes" and "no" are retained as
			synonyms for full and terse, respectively. [RT #29165]
(cherry picked from commit 40a7e85f3e)
2013-02-27 12:03:29 -08:00
Tinderbox User
cca5478e1f update copyright notice 2013-02-21 23:45:39 +00:00
Evan Hunt
388815e6e5 [v9_9] inline-signing slave with no file
3491.	[bug]		Slave zones using inline-signing must specify a
			file name. [RT #31946]
2013-02-20 14:05:37 -08:00
Tinderbox User
2f3c68c2c3 update copyright notice 2013-01-02 23:45:35 +00:00
Tinderbox User
7f6d740569 update copyright notice 2013-01-01 23:45:36 +00:00
Evan Hunt
d708e4c4f1 [v9_9] allow dnssec options in inline-signing slaves
3408.	[bug]		Some DNSSEC-related options (update-check-ksk,
			dnssec-loadkeys-interval, dnssec-dnskey-kskonly)
			are now legal in slave zones as long as
			inline-signing is in use. [RT #31078]
(cherry picked from commit f46168b879)
2012-10-26 16:15:48 -07:00
Tinderbox User
29dde050ee update copyright notice 2012-10-02 23:45:55 +00:00
Mark Andrews
e745d9180d 3385. [bug] named-checkconf didn't detect missing master lists
in also-notify clauses. [RT #30810]
2012-10-02 13:08:48 +10:00
Mark Andrews
8ff87f025f we didn't catch a zero option at the global level when views are active 2012-08-17 13:40:56 +10:00