cleandig d.d.host.test.dyndns ANY dnssec hidesoadetails
cleandig e.e.host.test.dyndns ANY dnssec hidesoadetails
+mysqldiff
+
cleannsupdate <<!
server $nameserver $port
zone test.dyndns
answer
!
+mysqldiff 1 "Check if delegate and glue are added correctly."
+
cleandig a.host.test.dyndns ANY dnssec hidesoadetails
cleandig b.host.test.dyndns ANY dnssec hidesoadetails
cleandig c.host.test.dyndns ANY dnssec hidesoadetails
answer
!
+mysqldiff 2 "Check if delegate is deleted and glue auth=1"
+
cleandig a.host.test.dyndns ANY dnssec hidesoadetails
cleandig b.host.test.dyndns ANY dnssec hidesoadetails
cleandig c.host.test.dyndns ANY dnssec hidesoadetails
answer
!
+mysqldiff 3 "Check if we are back to normal"
+
cleandig a.host.test.dyndns ANY dnssec hidesoadetails
cleandig b.host.test.dyndns ANY dnssec hidesoadetails
cleandig c.host.test.dyndns ANY dnssec hidesoadetails
-This tests adds a delegate between two records. The test validates that re have our ordernames correct when we insert a delegate between two others.
+This tests adds a delegate between two (existing) records. The test validates that we set our ordername correctly.
It also validates that our cache is correctly purged (when we are selective about it).
\ No newline at end of file
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate and glue are added correctly.
+--- Start: diff start step.1 ---
+> c.host.test.dyndns NS 0 ns1.c.host.test.dyndns 3600
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600
+--- End: diff start step.1 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
2 . IN OPT 32768
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate is deleted and glue auth=1
+--- Start: diff start step.2 ---
+> c.host.test.dyndns NULL NULL NULL NULL
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600
+--- End: diff start step.2 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
2 . IN OPT 32768
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if we are back to normal
+--- Start: diff start step.3 ---
+no difference
+--- End: diff start step.3 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
2 . IN OPT 32768
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate and glue are added correctly.
+--- Start: diff start step.1 ---
+> c.host.test.dyndns NS 0 ns1.c.host.test.dyndns 3600 'host c' 0
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 NULL 0
+--- End: diff start step.1 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN NSEC 86400 c.host.test.dyndns. A RRSIG NSEC
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate is deleted and glue auth=1
+--- Start: diff start step.2 ---
+> c.host.test.dyndns NULL NULL NULL NULL NULL 1
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 'host c ns1' 1
+--- End: diff start step.2 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN NSEC 86400 ns1.c.host.test.dyndns. A RRSIG NSEC
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if we are back to normal
+--- Start: diff start step.3 ---
+no difference
+--- End: diff start step.3 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN NSEC 86400 e.host.test.dyndns. A RRSIG NSEC
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate and glue are added correctly.
+--- Start: diff start step.1 ---
+> c.host.test.dyndns NS 0 ns1.c.host.test.dyndns 3600 NULL 0
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 NULL 0
+--- End: diff start step.1 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate is deleted and glue auth=1
+--- Start: diff start step.2 ---
+> c.host.test.dyndns NULL NULL NULL NULL '' 1
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 '' 1
+--- End: diff start step.2 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if we are back to normal
+--- Start: diff start step.3 ---
+no difference
+--- End: diff start step.3 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate and glue are added correctly.
+--- Start: diff start step.1 ---
+> c.host.test.dyndns NS 0 ns1.c.host.test.dyndns 3600 'fgun0ru4oe3g76tr551hg97mpu37b6mi' 0
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 NULL 0
+--- End: diff start step.1 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
Reply to question for qname='b.host.test.dyndns.', qtype=ANY
1 c.host.test.dyndns. IN NS 3600 ns1.c.host.test.dyndns.
-1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FQU365VN7BR5CSV8CG6NE9V8HA6D008P A RRSIG
-1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
+1 fgun0ru4oe3g76tr551hg97mpu37b6mi.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FQU365VN7BR5CSV8CG6NE9V8HA6D008P NS
+1 fgun0ru4oe3g76tr551hg97mpu37b6mi.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
1 lmrsadk2bb62qpruaules5i5ap06cp55.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd LRESBBP3LV8BLGJ9FSGTDMM4Q7VJ3D6J
1 lmrsadk2bb62qpruaules5i5ap06cp55.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
Reply to question for qname='f.host.test.dyndns.', qtype=ANY
1 8ti9tgh8d81frr5vr4o1o5bvko42v9dq.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd DSA3TI9NU3APDSVL3F63QLVAKV555SR6 A RRSIG
1 8ti9tgh8d81frr5vr4o1o5bvko42v9dq.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FQU365VN7BR5CSV8CG6NE9V8HA6D008P A RRSIG
+1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FGUN0RU4OE3G76TR551HG97MPU37B6MI A RRSIG
1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
Reply to question for qname='b.b.host.test.dyndns.', qtype=ANY
1 c.host.test.dyndns. IN NS 3600 ns1.c.host.test.dyndns.
-1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FQU365VN7BR5CSV8CG6NE9V8HA6D008P A RRSIG
-1 dsa3ti9nu3apdsvl3f63qlvakv555sr6.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
+1 fgun0ru4oe3g76tr551hg97mpu37b6mi.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd FQU365VN7BR5CSV8CG6NE9V8HA6D008P NS
+1 fgun0ru4oe3g76tr551hg97mpu37b6mi.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
1 lmrsadk2bb62qpruaules5i5ap06cp55.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd LRESBBP3LV8BLGJ9FSGTDMM4Q7VJ3D6J
1 lmrsadk2bb62qpruaules5i5ap06cp55.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if delegate is deleted and glue auth=1
+--- Start: diff start step.2 ---
+> c.host.test.dyndns NULL NULL NULL NULL 'fgun0ru4oe3g76tr551hg97mpu37b6mi' 1
+> ns1.c.host.test.dyndns A 0 192.168.0.1 3600 '6ovod1m5kossaiiqprlaf42prqrkeaq7' 1
+--- End: diff start step.2 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768
;; ZONE SECTION:
;test.dyndns. IN SOA
+Check if we are back to normal
+--- Start: diff start step.3 ---
+no difference
+--- End: diff start step.3 ---
+
0 a.host.test.dyndns. IN A 3600 1.1.1.1
0 a.host.test.dyndns. IN RRSIG 3600 A 8 4 3600 [expiry] [inception] [keytag] test.dyndns. ...
2 . IN OPT 32768