Lines Matching refs:ns5

659 # By the time we get here, ns5 should have attempted refreshing its managed
661 # from ns5. Note that named1.args does not contain "-T mkeytimers"; this is to
664 # between the next scheduled key refresh time and startup time of restarted ns5.
665 $PERL $SYSTEMTESTTOP/stop.pl --use-rndc . ns5
666 nextpart ns5/named.run > /dev/null
667 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns5
668 wait_for_log "Returned from key fetch in keyfetch_done()" ns5/named.run
669 # ns5/named.run will contain logs from both the old instance and the new
671 count=`grep -c "Creating key fetch" ns5/named.run`
679 $PERL $SYSTEMTESTTOP/stop.pl --use-rndc . ns5
681 rm -f ns5/managed-keys.bind*
684 cp ns5/named2.args ns5/named.args
685 nextpart ns5/named.run > /dev/null
686 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns5
687 wait_for_log "Returned from key fetch in keyfetch_done()" ns5/named.run
688 # ns1 should still REFUSE queries from ns5, so resolving should be impossible
689 $DIG $DIGOPTS +noauth example. @10.53.0.5 txt > dig.out.ns5.a.test$n || ret=1
690 grep "flags:.*ad.*QUERY" dig.out.ns5.a.test$n > /dev/null && ret=1
691 grep "example..*.RRSIG..*TXT" dig.out.ns5.a.test$n > /dev/null && ret=1
692 grep "status: SERVFAIL" dig.out.ns5.a.test$n > /dev/null || ret=1
693 # Allow queries from ns5 to ns1
697 nextpart ns5/named.run > /dev/null
698 wait_for_log "Returned from key fetch in keyfetch_done()" ns5/named.run
699 # ns1 should not longer REFUSE queries from ns5, so managed keys should be
701 $DIG $DIGOPTS +noauth example. @10.53.0.5 txt > dig.out.ns5.b.test$n || ret=1
702 grep "flags:.*ad.*QUERY" dig.out.ns5.b.test$n > /dev/null || ret=1
703 grep "example..*.RRSIG..*TXT" dig.out.ns5.b.test$n > /dev/null || ret=1
704 grep "status: NOERROR" dig.out.ns5.b.test$n > /dev/null || ret=1