"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "regression-tests/backends/bind-master" between
pdns-auth-4.1.13.tar.gz and pdns-auth-4.2.0.tar.gz

About: PowerDNS Authoritative Nameserver is a versatile nameserver which supports a large number of backends (that can either be plain zone files or be more dynamic in nature).

bind-master  (pdns-auth-4.1.13):bind-master  (pdns-auth-4.2.0)
skipping to change at line 60 skipping to change at line 60
$PDNSUTIL --config-dir=. --config-name=bind create-bind-d b dnssec.sqlite3 $PDNSUTIL --config-dir=. --config-name=bind create-bind-d b dnssec.sqlite3
fi fi
for zone in $(grep 'zone ' named.conf | cut -f2 -d\") for zone in $(grep 'zone ' named.conf | cut -f2 -d\")
do do
if [ $context = bind-hybrid-nsec3 ] if [ $context = bind-hybrid-nsec3 ]
then then
mysql --user="$GMYSQLUSER" --password="$GMYSQLPAS SWD" --host="$GMYSQLHOST" \ mysql --user="$GMYSQLUSER" --password="$GMYSQLPAS SWD" --host="$GMYSQLHOST" \
"$GMYSQLDB" -e "INSERT INTO domains (name , type, master) VALUES('$zone','SLAVE','127.0.0.1:$port')" "$GMYSQLDB" -e "INSERT INTO domains (name , type, master) VALUES('$zone','SLAVE','127.0.0.1:$port')"
fi fi
securezone $zone bind if [ $zone != insecure.dnssec-parent.com ]
if [ $context = bind-dnssec-nsec3 ] || [ $context = bind-
dnssec-nsec3-optout ] || [ $context = bind-hybrid-nsec3 ]
then then
$PDNSUTIL --config-dir=. --config-name=bind set-n securezone $zone bind
sec3 $zone "1 $optout 1 abcd" 2>&1 if [ $context = bind-dnssec-nsec3 ] || [ $context
elif [ $context = bind-dnssec-nsec3-narrow ] = bind-dnssec-nsec3-optout ] || [ $context = bind-hybrid-nsec3 ]
then then
$PDNSUTIL --config-dir=. --config-name=bind set-n $PDNSUTIL --config-dir=. --config-name=bi
sec3 $zone '1 1 1 abcd' narrow 2>&1 nd set-nsec3 $zone "1 $optout 1 abcd" 2>&1
elif [ $context = bind-dnssec-nsec3-narrow ]
then
$PDNSUTIL --config-dir=. --config-name=bi
nd set-nsec3 $zone '1 1 1 abcd' narrow 2>&1
fi
fi fi
if [ "$zone" = "tsig.com" ]; then if [ "$zone" = "tsig.com" ]; then
$PDNSUTIL --config-dir=. --config-name=bind impor t-tsig-key test $ALGORITHM $KEY $PDNSUTIL --config-dir=. --config-name=bind impor t-tsig-key test $ALGORITHM $KEY
$PDNSUTIL --config-dir=. --config-name=bind activ ate-tsig-key tsig.com test master $PDNSUTIL --config-dir=. --config-name=bind activ ate-tsig-key tsig.com test master
fi fi
done done
if [ $context = bind-dnssec-nsec3 ] || [ $context = bind-hybrid-n sec3 ] if [ $context = bind-dnssec-nsec3 ] || [ $context = bind-hybrid-n sec3 ]
then then
extracontexts="bind dnssec nsec3" extracontexts="bind dnssec nsec3"
 End of changes. 2 change blocks. 
9 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)