Commit a27bbd21 authored by Mark Andrews's avatar Mark Andrews

2909. [bug] named-checkzone -p could die if "update-policy local;"

                        was specified in named.conf. [RT #21416]
parent 29f0da7f
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment