Do not use internet resources
Instead, try updating on local bind. It should fail exactly the same way, but in controlled environment.
This commit is contained in:
parent
af29d76634
commit
1be282b78d
2 changed files with 10 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
zone bar.
|
||||
update delete foo.bar. IN A
|
||||
zone localhost.
|
||||
update delete foo.localhost. IN A
|
||||
send
|
||||
update add foo.bar. 1200 IN A 10.16.78.134
|
||||
update add foo.localhost. 1200 IN A 10.16.78.134
|
||||
send
|
||||
|
|
|
|||
|
|
@ -41,11 +41,16 @@ if rpm -q bind97 &> /dev/null; then
|
|||
else
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm bind-utils
|
||||
rlServiceStart named
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "nsupdate -g nsupdate.cmd" 1,2 "nsupdate should fail"
|
||||
rlRun "nsupdate nsupdate.cmd" 2 "nsupdate should fail with exitcode 2"
|
||||
rlRun "nsupdate -g -l nsupdate.cmd" 1,2 "nsupdate should fail"
|
||||
rlRun "nsupdate -l nsupdate.cmd" 2 "nsupdate should fail with exitcode 2"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlServiceRestore named
|
||||
rlPhaseEnd
|
||||
fi
|
||||
rlJournalPrintText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue