Lines Matching refs:SOA
30 $DIG $DIGOPTS "@$1" "$2" SOA >"$4"
31 serial=$(awk '$4 == "SOA" { print $7 }' "$4")
81 $DIG $DIGOPTS @10.53.0.3 +noall +answer +dnssec expired SOA >dig.out.ns3.test$n || ret=1
187 update add bits 0 SOA ns2.bits. . 2011072400 20 20 1814400 3600
191 $DIG $DIGOPTS @10.53.0.2 bits SOA >dig.out.ns2.test$n || ret=1
202 $DIG $DIGOPTS @10.53.0.3 bits SOA >dig.out.ns3.test$n || ret=1
264 update add noixfr 0 SOA ns4.noixfr. . 2011072400 20 20 1814400 3600
268 $DIG $DIGOPTS @10.53.0.4 noixfr SOA >dig.out.ns4.test$n || ret=1
279 $DIG $DIGOPTS @10.53.0.3 noixfr SOA >dig.out.ns3.test$n || ret=1
369 echo_i "check adding record fails when SOA serial not changed ($n)"
380 echo_i "check adding record works after updating SOA serial ($n)"
423 $DIG $DIGOPTS +nodnssec +short @10.53.0.3 updated SOA >dig.out.ns3.soa.test$n || ret=1
424 serial=$(awk '{print $3}' dig.out.ns3.soa.test$n)
433 # records (SOA/RRSIG, 2 x NSEC/RRSIG, A/RRSIG), and 4 removed records
434 # (SOA/RRSIG, NSEC/RRSIG).
503 update add bits 0 SOA ns2.bits. . 2011072450 20 20 1814400 3600
507 $DIG $DIGOPTS @10.53.0.2 bits SOA >dig.out.ns2.test$n || ret=1
518 $DIG $DIGOPTS @10.53.0.3 bits SOA >dig.out.ns3.test$n || ret=1
535 update add noixfr 0 SOA ns4.noixfr. . 2011072450 20 20 1814400 3600
539 $DIG $DIGOPTS @10.53.0.4 noixfr SOA >dig.out.ns4.test$n || ret=1
550 $DIG $DIGOPTS @10.53.0.3 noixfr SOA >dig.out.ns3.test$n || ret=1
567 update add bits 0 SOA ns2.bits. . 2011072460 20 20 1814400 3600
571 $DIG $DIGOPTS @10.53.0.2 bits SOA >dig.out.ns2.test$n || ret=1
582 $DIG $DIGOPTS @10.53.0.3 bits SOA >dig.out.ns3.test$n || ret=1
599 update add noixfr 0 SOA ns4.noixfr. . 2011072460 20 20 1814400 3600
603 $DIG $DIGOPTS @10.53.0.4 noixfr SOA >dig.out.ns4.test$n || ret=1
614 $DIG $DIGOPTS @10.53.0.3 noixfr SOA >dig.out.ns3.test$n || ret=1
627 $DIG $DIGOPTS @10.53.0.5 +dnssec bits SOA >dig.out.ns5.test$n || ret=1
644 $DIG $DIGOPTS @10.53.0.5 bits SOA >dig.out.ns5.test$n || ret=1
826 # waiting for a specific SOA serial number to appear in the logs; if this
827 # specific SOA serial number does not appear in the logs, it means the signer
829 # instead of sending SOA queries to the signer as these may influence its
851 echo_i "update SOA record while stopped"
863 echo_i "updates to SOA parameters other than serial while stopped are reflected in signed zone ($n)"
867 $DIG $DIGOPTS @10.53.0.3 primary SOA >dig.out.ns3.test$n || ret=1
895 # i.e. SOA RNAME should no longer be set to "hostmaster".
896 $DIG $DIGOPTS @10.53.0.3 primary SOA >dig.out.ns3.test$n || ret=1
904 $DIG $DIGOPTS +short @10.53.0.3 primary SOA >dig.out.ns3.test$n.1 || ret=1
916 # Sanity check: the SOA record should be unchanged
917 $DIG $DIGOPTS +short @10.53.0.3 primary SOA | grep -v '^;' >dig.out.ns3.test$n.2
925 $DIG $DIGOPTS +short @10.53.0.3 primary SOA >dig.out.ns3.test$n.1 || ret=1
940 # Sanity check: the SOA record should be changed
941 $DIG $DIGOPTS +short @10.53.0.3 primary SOA | grep -v '^;' >dig.out.ns3.test$n.2
952 $DIG $DIGOPTS @10.53.0.2 test-$zone SOA >dig.out.ns2.$zone.test$n || ret=1
1010 $DIG $DIGOPTS nsec3. SOA @10.53.0.3 >dig.out.n3.pre.test$n || ret=1
1011 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] + 10) if ($field[3] eq "SOA"); }' <dig.out.n3.pre.test$n)
1020 $DIG $DIGOPTS nsec3. SOA @10.53.0.3 >dig.out.n3.pre.test$n || ret=1
1021 oldserial=$(awk '$4 == "SOA" { print $7 }' dig.out.n3.pre.test$n)
1022 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] - 10) if ($field[3] eq "SOA"); }' <dig.out.n3.pre.test$n)
1025 $DIG $DIGOPTS nsec3. SOA @10.53.0.3 >dig.out.ns3.post.test$n || ret=1
1026 serial=$(awk '$4 == "SOA" { print $7 }' dig.out.ns3.post.test$n)
1037 $DIG $DIGOPTS nsec3. SOA @10.53.0.3 >dig.out.n3.pre.test$n || ret=1
1038 oldserial=$(awk '$4 == "SOA" { print $7 }' dig.out.n3.pre.test$n)
1039 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] + 10) if ($field[3] eq "SOA"); }' <dig.out.n3.pre.test$n)
1050 $DIG $DIGOPTS bits. SOA @10.53.0.2 >dig.out.ns2.pre.test$n || ret=1
1051 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] + 10) if ($field[3] eq "SOA"); }' <dig.out.ns2.pre.test$n)
1060 $DIG $DIGOPTS bits. SOA @10.53.0.2 >dig.out.ns2.pre.test$n || ret=1
1061 oldserial=$(awk '$4 == "SOA" { print $7 }' dig.out.ns2.pre.test$n)
1062 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] - 10) if ($field[3] eq "SOA"); }' <dig.out.ns2.pre.test$n)
1072 $DIG $DIGOPTS bits. SOA @10.53.0.2 >dig.out.ns2.pre.test$n || ret=1
1073 oldserial=$(awk '$4 == "SOA" { print $7 }' dig.out.ns2.pre.test$n)
1074 newserial=$($PERL -e 'while (<>) { chomp; my @field = split /\s+/; printf("%u\n", $field[6] + 10) if ($field[3] eq "SOA"); }' <dig.out.ns2.pre.test$n)
1162 # Determine what a SOA record with a bumped serial number should look like.
1163 BUMPED_SOA=$(sed -n 's/.*\(add removedkeys-primary.*IN.*SOA\)/\1/p;' ns3/named.run | tail -1 | awk '{$8 += 1; print $0}')
1167 # Bump the SOA serial number of the raw zone.
1171 update del removedkeys-primary. SOA
1219 # Determine what a SOA record with a bumped serial number should look like.
1220 BUMPED_SOA=$(sed -n 's/.*\(add removedkeys-secondary.*IN.*SOA\)/\1/p;' ns2/named.run | tail -1 | awk '{$8 += 1; print $0}')
1224 # Bump the SOA serial number of the raw zone on the primary.
1228 update del removedkeys-secondary. SOA
1276 # server startup, receive_secure_serial() will rectify that, update SOA, resign
1278 # return delayedkeys/SOA as the next node to resign, so we restart the server
1345 dig_with_opts @10.53.0.8 example SOA >dig.out.ns8.test$n.soa1 || ret=1
1351 dig_with_opts @10.53.0.8 example SOA >dig.out.ns8.test$n.soa2 || ret=1
1352 soa1=$(awk '$4 == "SOA" { print $7 }' dig.out.ns8.test$n.soa1)
1353 soa2=$(awk '$4 == "SOA" { print $7 }' dig.out.ns8.test$n.soa2)
1354 ttl1=$(awk '$4 == "SOA" { print $2 }' dig.out.ns8.test$n.soa1)
1355 SOA" { print $2 }' dig.out.ns8.test$n.soa2)
1366 dig_with_opts @10.53.0.8 example SOA >dig.out.ns8.test$n.soa1 || ret=1
1375 dig_with_opts @10.53.0.8 example SOA >dig.out.ns8.test$n.soa2 || ret=1
1376 soa1=$(awk '$4 == "SOA" { print $7 }' dig.out.ns8.test$n.soa1)
1377 soa2=$(awk '$4 == "SOA" { print $7 }' dig.out.ns8.test$n.soa2)
1378 ttl1=$(awk '$4 == "SOA" { print $2 }' dig.out.ns8.test$n.soa1)
1379 ttl2=$(awk '$4 == "SOA" { print $2 }' dig.out.ns8.test$n.soa2)