3964. [func] nsupdate now performs check-names processing.

[RT #36266]
This commit is contained in:
Mark Andrews
2014-10-02 09:35:43 +10:00
parent 7c1468ed50
commit ed1c845c1d
7 changed files with 109 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ echo "I: check that updates to 'check-names fail;' are rejected ($n)"
ret=0
not=1
$NSUPDATE -d <<END> nsupdate.out.test$n 2>&1 || not=0
check-names off
server 10.53.0.1 5300
update add xxx_xxx.fail.update. 600 A 10.10.10.1
send
@@ -104,6 +105,7 @@ n=`expr $n + 1`
echo "I: check that updates to 'check-names warn;' succeed and are logged ($n)"
ret=0
$NSUPDATE -d <<END> nsupdate.out.test$n 2>&1|| ret=1
check-names off
server 10.53.0.1 5300
update add xxx_xxx.warn.update. 600 A 10.10.10.1
send
@@ -119,6 +121,7 @@ echo "I: check that updates to 'check-names ignore;' succeed and are not logged
ret=0
not=1
$NSUPDATE -d <<END> nsupdate.out.test$n 2>&1 || ret=1
check-names off
server 10.53.0.1 5300
update add xxx_xxx.ignore.update. 600 A 10.10.10.1
send
@@ -135,6 +138,7 @@ echo "I: check that updates to 'check-names master ignore;' succeed and are not
ret=0
not=1
$NSUPDATE -d <<END> nsupdate.out.test$n 2>&1 || ret=1
check-names off
server 10.53.0.4 5300
update add xxx_xxx.master-ignore.update. 600 A 10.10.10.1
send