Added RT #2399 regression test
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: example.db.in,v 1.9 2001/09/19 21:19:50 gson Exp $
|
||||
; $Id: example.db.in,v 1.10 2002/01/22 22:27:25 gson Exp $
|
||||
|
||||
$TTL 300 ; 5 minutes
|
||||
@ IN SOA mname1. . (
|
||||
@@ -58,11 +58,14 @@ ns.secure A 10.53.0.3
|
||||
insecure NS ns.insecure
|
||||
ns.insecure A 10.53.0.3
|
||||
|
||||
|
||||
; A secure subdomain we're going to inject bogus data into
|
||||
bogus NS ns.bogus
|
||||
ns.bogus A 10.53.0.3
|
||||
|
||||
; A dynamic secure subdomain
|
||||
dynamic NS dynamic
|
||||
dynamic A 10.53.0.3
|
||||
|
||||
z A 10.0.0.26
|
||||
|
||||
keyless NS ns.keyless
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named.conf,v 1.17 2001/01/11 20:41:32 gson Exp $ */
|
||||
/* $Id: named.conf,v 1.18 2002/01/22 22:27:26 gson Exp $ */
|
||||
|
||||
// NS2
|
||||
|
||||
@@ -54,5 +54,4 @@ zone "insecure.secure.example" {
|
||||
allow-update { any; };
|
||||
};
|
||||
|
||||
|
||||
include "trusted.conf";
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: sign.sh,v 1.16 2001/09/17 17:47:18 bwelling Exp $
|
||||
# $Id: sign.sh,v 1.17 2002/01/22 22:27:27 gson Exp $
|
||||
|
||||
SYSTEMTESTTOP=../..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -33,21 +33,16 @@ keyname=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone`
|
||||
|
||||
( cd ../ns3 && sh sign.sh )
|
||||
|
||||
cp ../ns3/keyset-secure.example. .
|
||||
for subdomain in secure bogus
|
||||
do
|
||||
cp ../ns3/keyset-$subdomain.example. .
|
||||
|
||||
$KEYSIGNER -r $RANDFILE keyset-secure.example. $keyname > /dev/null
|
||||
$KEYSIGNER -r $RANDFILE keyset-$subdomain.example. $keyname > /dev/null
|
||||
|
||||
# This will leave two copies of the child's zone key in the signed db file;
|
||||
# that shouldn't cause any problems.
|
||||
cat signedkey-secure.example. >>../ns3/secure.example.db.signed
|
||||
|
||||
cp ../ns3/keyset-bogus.example. .
|
||||
|
||||
$KEYSIGNER -r $RANDFILE keyset-bogus.example. $keyname > /dev/null
|
||||
|
||||
# This will leave two copies of the child's zone key in the signed db file;
|
||||
# that shouldn't cause any problems.
|
||||
cat signedkey-bogus.example. >>../ns3/bogus.example.db.signed
|
||||
# This will leave two copies of the child's zone key in the signed db file;
|
||||
# that shouldn't cause any problems.
|
||||
cat signedkey-$subdomain.example. >>../ns3/$subdomain.example.db.signed
|
||||
done
|
||||
|
||||
$KEYSETTOOL -r $RANDFILE -t 3600 $keyname > /dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user