mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:32:05 -04:00
2909. [bug] named-checkzone -p could die if "update-policy local;"
was specified in named.conf. [RT #21416]
This commit is contained in:
parent
29f0da7fb8
commit
a27bbd21cf
3 changed files with 16 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2909. [bug] named-checkzone -p could die if "update-policy local;"
|
||||
was specified in named.conf. [RT #21416]
|
||||
|
||||
2908. [bug] It was possible for re-signing to stop after removing
|
||||
a DNSKEY. [RT #21384]
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: good.conf,v 1.4 2007/06/19 23:47:01 tbox Exp $ */
|
||||
/* $Id: good.conf,v 1.5 2010/06/02 01:07:47 marka Exp $ */
|
||||
|
||||
/*
|
||||
* This is just a random selection of configuration options.
|
||||
|
|
@ -54,3 +54,9 @@ options {
|
|||
serial-query-rate 100;
|
||||
server-id none;
|
||||
};
|
||||
|
||||
zone "example1" {
|
||||
type master;
|
||||
file "xxx";
|
||||
update-policy local;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.3 2007/06/19 23:47:01 tbox Exp $
|
||||
# $Id: tests.sh,v 1.4 2010/06/02 01:07:47 marka Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
|
@ -26,6 +26,11 @@ $CHECKCONF good.conf > /dev/null 2>&1 || ret=1
|
|||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I: checking that named-checkconf prints a known good config"
|
||||
ret=0
|
||||
$CHECKCONF -p good.conf > /dev/null 2>&1 || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
echo "I: checking that named-checkconf handles a known bad config"
|
||||
|
||||
ret=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue