Additional test in nsupdate test

This commit is contained in:
Michael Sawyer
2000-07-24 23:54:59 +00:00
parent 516b9de0d9
commit 6b9c29ec57
2 changed files with 14 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: named.conf,v 1.2 2000/07/24 22:53:38 mws Exp $ */
/* $Id: named.conf,v 1.3 2000/07/24 23:54:59 mws Exp $ */
options {
query-source address 10.53.0.1;
@@ -39,4 +39,5 @@ zone "update.nil" {
file "update.db";
allow-update { any; };
allow-transfer { any; };
also-notify { 10.53.0.2; };
};
+12 -1
View File
@@ -15,7 +15,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# $Id: tests.sh,v 1.5 2000/07/24 22:53:35 mws Exp $
# $Id: tests.sh,v 1.6 2000/07/24 23:54:57 mws Exp $
#
# Perform tests
@@ -64,5 +64,16 @@ else
echo "I:The second part of this test requires the Net::DNS library." >&2
fi
echo "I:fetching first copy of test zone"
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example.nil.\
@10.53.0.1 axfr -p 5300 > dig.out.ns1 || status=1
echo "I:fetching second copy of test zone"
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example.nil.\
@10.53.0.1 axfr -p 5300 > dig.out.ns2 || status=1
echo "I:comparing zones"
$PERL ../digcomp.pl dig.out.ns1 dig.out.ns2 || status=1
echo "I:exit status: $status"
exit $status