#!/bin/sh
-cleandig a.b.c.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig a.b.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig x.d.e.f.test.dyndns A hidesoadetails dnssec
-
mysqldiff
cleannsupdate <<!
answer
!
-cleandig a.b.c.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig a.b.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig x.d.e.f.test.dyndns A hidesoadetails dnssec
mysqldiff 1 "Check if records are added"
answer
!
-cleandig a.b.c.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig a.b.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig x.d.e.f.test.dyndns A hidesoadetails dnssec
mysqldiff 2 "Check if a.b.c.d.e.f is removed correctly"
cleannsupdate <<!
answer
!
-cleandig a.b.c.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig a.b.d.e.f.test.dyndns A hidesoadetails dnssec
-cleandig x.d.e.f.test.dyndns A hidesoadetails dnssec
-mysqldiff 3 "Check if everything is removed correctly"
\ No newline at end of file
+mysqldiff 3 "Check if everything is removed correctly"
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-0 a.b.c.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if records are added
--- Start: diff start step.1 ---
> a.b.c.d.e.f.test.dyndns A 0 127.0.0.1 3600
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if a.b.c.d.e.f is removed correctly
--- Start: diff start step.2 ---
> a.b.d.e.f.test.dyndns A 0 127.0.0.1 3600
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if everything is removed correctly
--- Start: diff start step.3 ---
no difference
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-0 a.b.c.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.c.d.e.f.test.dyndns. IN RRSIG 3600 A 8 8 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 a.b.c.d.e.f.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A RRSIG NSEC
-1 a.b.c.d.e.f.test.dyndns. IN RRSIG 86400 NSEC 8 8 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 delete-add.test.dyndns. IN NSEC 86400 a.b.d.e.f.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if records are added
--- Start: diff start step.1 ---
> a.b.c.d.e.f.test.dyndns A 0 127.0.0.1 3600 'f e d c b a' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 a.b.d.e.f.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A RRSIG NSEC
-1 a.b.d.e.f.test.dyndns. IN RRSIG 86400 NSEC 8 7 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 delete-add.test.dyndns. IN NSEC 86400 a.b.d.e.f.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 a.b.d.e.f.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A RRSIG NSEC
-1 a.b.d.e.f.test.dyndns. IN RRSIG 86400 NSEC 8 7 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 delete-add.test.dyndns. IN NSEC 86400 a.b.d.e.f.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if a.b.c.d.e.f is removed correctly
--- Start: diff start step.2 ---
> a.b.d.e.f.test.dyndns A 0 127.0.0.1 3600 'f e d b a' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 delete-add.test.dyndns. IN NSEC 86400 a.host.test.dyndns. A TXT RRSIG NSEC
-1 delete-add.test.dyndns. IN RRSIG 86400 NSEC 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN NSEC 86400 cname1.test.dyndns. NS SOA MX RRSIG NSEC DNSKEY
-1 test.dyndns. IN RRSIG 3600 SOA 8 2 3600 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN RRSIG 86400 NSEC 8 2 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if everything is removed correctly
--- Start: diff start step.3 ---
no difference
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.d.e.f.test.dyndns.', qtype=A
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='x.d.e.f.test.dyndns.', qtype=A
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-0 a.b.c.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.c.d.e.f.test.dyndns. IN RRSIG 3600 A 8 8 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd IB3LD1S8C6DFQB62BFCODUG02VBAOUB3
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 q9ck1e2e54o9cjvh84jfksvi69umn4v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q9CK1E2E54O9CJVH84JFKSVI69UMN4V4
-1 q9ck1e2e54o9cjvh84jfksvi69umn4v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd QM2M8QA1EA4HU5PLGU310CPNJ5G7BIE8
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if records are added
--- Start: diff start step.1 ---
> a.b.c.d.e.f.test.dyndns A 0 127.0.0.1 3600 NULL 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 6dll36pp2pvi784nttvqc1oevi57p2k2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 6DLL36PP2PVI784NTTVQC1OEVI57P2K4
-1 6dll36pp2pvi784nttvqc1oevi57p2k2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd IB3LD1S8C6DFQB62BFCODUG02VBAOUB3
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd QM2M8QA1EA4HU5PLGU310CPNJ5G7BIE8
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd IB3LD1S8C6DFQB62BFCODUG02VBAOUB3
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 q9ck1e2e54o9cjvh84jfksvi69umn4v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q9CK1E2E54O9CJVH84JFKSVI69UMN4V4
-1 q9ck1e2e54o9cjvh84jfksvi69umn4v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd QM2M8QA1EA4HU5PLGU310CPNJ5G7BIE8
-1 qm2m8qa1ea4hu5plgu310cpnj5g7bie6.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if a.b.c.d.e.f is removed correctly
--- Start: diff start step.2 ---
> a.b.d.e.f.test.dyndns A 0 127.0.0.1 3600 NULL 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.c.d.e.f.test.dyndns.', qtype=A
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.d.e.f.test.dyndns.', qtype=A
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd EPFP6242BI1891C397KJDHSD0H04OTMT
-1 epfp6242bi1891c397kjdhsd0h04otmr.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd OTDRJSDLB78JMSU0IC15A7U25QUQPHHT
-1 otdrjsdlb78jmsu0ic15a7u25quqphhr.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd U36F0TJOOQV1KSPATTO6QNS0VAP731V3 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='x.d.e.f.test.dyndns.', qtype=A
Check if everything is removed correctly
--- Start: diff start step.3 ---
no difference
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.c.d.e.f.test.dyndns.', qtype=A
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.d.e.f.test.dyndns.', qtype=A
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='x.d.e.f.test.dyndns.', qtype=A
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-0 a.b.c.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.c.d.e.f.test.dyndns. IN RRSIG 3600 A 8 8 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd ITUDUKE14PTHSNO7II6H5SBOSHR8RFQS
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd R9S1CJ8DKMNMENJN95STI8NHH9UTPQ9K A RRSIG
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if records are added
--- Start: diff start step.1 ---
> a.b.c.d.e.f.test.dyndns A 0 127.0.0.1 3600 '2u8m12oibofk0fqhk11s40k8vfnhhkug' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 4i84rosksbmegcqfnkf6n6ci093h7rq4.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 8PQJV4B3M0LCFMVAE0HP394LC154L1I7 CNAME RRSIG
-1 4i84rosksbmegcqfnkf6n6ci093h7rq4.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd ITUDUKE14PTHSNO7II6H5SBOSHR8RFQS
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd R9S1CJ8DKMNMENJN95STI8NHH9UTPQ9K A RRSIG
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.c.d.e.f.test.dyndns.', qtype=A
-0 a.b.d.e.f.test.dyndns. IN A 3600 127.0.0.1
-0 a.b.d.e.f.test.dyndns. IN RRSIG 3600 A 8 7 3600 [expiry] [inception] [keytag] test.dyndns. ...
-2 . IN OPT 32768
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='a.b.d.e.f.test.dyndns.', qtype=A
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd ITUDUKE14PTHSNO7II6H5SBOSHR8RFQS
-1 ib3ld1s8c6dfqb62bfcodug02vbaoub2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [expiry] [inception] [keytag] test.dyndns. ...
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd R9S1CJ8DKMNMENJN95STI8NHH9UTPQ9K A RRSIG
-1 q75pnoe7pb74pnd6ogn44t5btuurbhrf.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
-2 . IN OPT 32768
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='x.d.e.f.test.dyndns.', qtype=A
Check if a.b.c.d.e.f is removed correctly
--- Start: diff start step.2 ---
> a.b.d.e.f.test.dyndns A 0 127.0.0.1 3600 'fqhg4b60on9mnerf7blipai4ej9gkpdk' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.c.d.e.f.test.dyndns.', qtype=A
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='a.b.d.e.f.test.dyndns.', qtype=A
-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 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd Q75PNOE7PB74PND6OGN44T5BTUURBHRF A RRSIG
-1 lresbbp3lv8blgj9fsgtdmm4q7vj3d6j.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
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN NSEC3 86400 1 [flags] 1 abcd 2GP5RDNJOQ5OOSPC5O1IH9LALI101DI8 NS SOA MX RRSIG DNSKEY NSEC3PARAM
-1 u36f0tjooqv1kspatto6qns0vap731v2.test.dyndns. IN RRSIG 86400 NSEC3 8 3 86400 [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='x.d.e.f.test.dyndns.', qtype=A
Check if everything is removed correctly
--- Start: diff start step.3 ---
no difference
#!/bin/sh
-cleandig delegate1.test.dyndns ANY hidesoadetails
mysqldiff
cleannsupdate <<!
answer
!
-cleandig delegate.test.dyndns ANY hidesoadetails
-cleandig other.very.deep.delegate.test.dyndns hidesoadetails
mysqldiff 1 "Check delegates added"
cleannsupdate <<!
answer
!
-cleandig delegate.test.dyndns ANY hidesoadetails
-cleandig other.very.deep.delegate.test.dyndns hidesoadetails
-mysqldiff 2 "Check delegates deleted"
\ No newline at end of file
+mysqldiff 2 "Check delegates deleted"
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate.test.dyndns. IN NS 3600 ns1.delegate.test.dyndns.
-2 ns1.delegate.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate.test.dyndns.', qtype=ANY
Check delegates added
--- Start: diff start step.1 ---
> delegate.test.dyndns NS 0 ns1.delegate.test.dyndns 3600
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='delegate.test.dyndns.', qtype=ANY
Check delegates deleted
--- Start: diff start step.2 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate.test.dyndns. IN NS 3600 ns1.delegate.test.dyndns.
-2 ns1.delegate.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate.test.dyndns.', qtype=ANY
Check delegates added
--- Start: diff start step.1 ---
> delegate.test.dyndns NS 0 ns1.delegate.test.dyndns 3600 'delegate' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='delegate.test.dyndns.', qtype=ANY
Check delegates deleted
--- Start: diff start step.2 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate.test.dyndns. IN NS 3600 ns1.delegate.test.dyndns.
-2 ns1.delegate.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate.test.dyndns.', qtype=ANY
Check delegates added
--- Start: diff start step.1 ---
> delegate.test.dyndns NS 0 ns1.delegate.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='delegate.test.dyndns.', qtype=ANY
Check delegates deleted
--- Start: diff start step.2 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate.test.dyndns. IN NS 3600 ns1.delegate.test.dyndns.
-2 ns1.delegate.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate.test.dyndns.', qtype=ANY
Check delegates added
--- Start: diff start step.1 ---
> delegate.test.dyndns NS 0 ns1.delegate.test.dyndns 3600 'vg1uvfh5go60po37nof33f260sno3bnc' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='delegate.test.dyndns.', qtype=ANY
Check delegates deleted
--- Start: diff start step.2 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate.test.dyndns. IN NS 3600 ns1.delegate.test.dyndns.
-2 ns1.delegate.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate.test.dyndns.', qtype=ANY
Check delegates added
--- Start: diff start step.1 ---
> delegate.test.dyndns NS 0 ns1.delegate.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='delegate.test.dyndns.', qtype=ANY
Check delegates deleted
--- Start: diff start step.2 ---
no difference
#!/bin/sh
-cleandig delegate1.test.dyndns ANY hidesoadetails
mysqldiff
cleannsupdate <<!
answer
!
-cleandig delegate1.test.dyndns ANY
mysqldiff 1 'Check delegate1 added correctly'
cleannsupdate <<!
answer
!
-cleandig delegate2.test.dyndns ANY
mysqldiff 2 'Check delegate2 added correctly'
cleannsupdate <<!
answer
!
-cleandig delegate2.test.dyndns ANY hidesoadetails
-cleandig delegate1.test.dyndns ANY hidesoadetails
-cleandig ns1.delegate1.test.dyndns ANY
-cleandig ns2.delegate1.test.dyndns ANY
-cleandig ns1.delegate2.test.dyndns ANY
-cleandig ns2.delegate2.test.dyndns ANY
mysqldiff 3 'check delegate delete'
cleannsupdate <<!
answer
!
-cleandig ns1.delegate1.test.dyndns ANY hidesoadetails
-cleandig ns2.delegate1.test.dyndns ANY hidesoadetails
-cleandig ns1.delegate2.test.dyndns ANY hidesoadetails
-cleandig ns2.delegate2.test.dyndns ANY hidesoadetails
-mysqldiff 4 'Check if glue records are deleted and zone back to how we started'
\ No newline at end of file
+mysqldiff 4 'Check if glue records are deleted and zone back to how we started'
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate1.test.dyndns. IN NS 3600 ns1.delegate1.test.dyndns.
-1 delegate1.test.dyndns. IN NS 3600 ns2.delegate1.test.dyndns.
-2 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
Check delegate1 added correctly
--- Start: diff start step.1 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate2.test.dyndns. IN NS 3600 ns1.delegate2.test.dyndns.
-1 delegate2.test.dyndns. IN NS 3600 ns2.example.com.
-2 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.example.com. IN A 120 192.168.1.2
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
Check delegate2 added correctly
--- Start: diff start step.2 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate1.test.dyndns.', qtype=ANY
-0 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate2.test.dyndns.', qtype=ANY
-0 ns2.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate2.test.dyndns.', qtype=ANY
check delegate delete
--- Start: diff start step.3 ---
> delegate1.test.dyndns NULL NULL NULL NULL
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='ns1.delegate1.test.dyndns.', qtype=ANY
-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='ns2.delegate1.test.dyndns.', qtype=ANY
-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='ns1.delegate2.test.dyndns.', qtype=ANY
-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='ns2.delegate2.test.dyndns.', qtype=ANY
Check if glue records are deleted and zone back to how we started
--- Start: diff start step.4 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate1.test.dyndns. IN NS 3600 ns1.delegate1.test.dyndns.
-1 delegate1.test.dyndns. IN NS 3600 ns2.delegate1.test.dyndns.
-2 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
Check delegate1 added correctly
--- Start: diff start step.1 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 'delegate1' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate2.test.dyndns. IN NS 3600 ns1.delegate2.test.dyndns.
-1 delegate2.test.dyndns. IN NS 3600 ns2.example.com.
-2 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.example.com. IN A 120 192.168.1.2
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
Check delegate2 added correctly
--- Start: diff start step.2 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 'delegate1' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate1.test.dyndns.', qtype=ANY
-0 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate2.test.dyndns.', qtype=ANY
-0 ns2.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate2.test.dyndns.', qtype=ANY
check delegate delete
--- Start: diff start step.3 ---
> delegate1.test.dyndns NULL NULL NULL NULL NULL 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='ns1.delegate1.test.dyndns.', qtype=ANY
-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='ns2.delegate1.test.dyndns.', qtype=ANY
-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='ns1.delegate2.test.dyndns.', qtype=ANY
-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='ns2.delegate2.test.dyndns.', qtype=ANY
Check if glue records are deleted and zone back to how we started
--- Start: diff start step.4 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate1.test.dyndns. IN NS 3600 ns1.delegate1.test.dyndns.
-1 delegate1.test.dyndns. IN NS 3600 ns2.delegate1.test.dyndns.
-2 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
Check delegate1 added correctly
--- Start: diff start step.1 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate2.test.dyndns. IN NS 3600 ns1.delegate2.test.dyndns.
-1 delegate2.test.dyndns. IN NS 3600 ns2.example.com.
-2 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.example.com. IN A 120 192.168.1.2
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
Check delegate2 added correctly
--- Start: diff start step.2 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate1.test.dyndns.', qtype=ANY
-0 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate2.test.dyndns.', qtype=ANY
-0 ns2.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate2.test.dyndns.', qtype=ANY
check delegate delete
--- Start: diff start step.3 ---
> delegate1.test.dyndns NULL NULL NULL NULL '' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='ns1.delegate1.test.dyndns.', qtype=ANY
-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='ns2.delegate1.test.dyndns.', qtype=ANY
-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='ns1.delegate2.test.dyndns.', qtype=ANY
-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='ns2.delegate2.test.dyndns.', qtype=ANY
Check if glue records are deleted and zone back to how we started
--- Start: diff start step.4 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate1.test.dyndns. IN NS 3600 ns1.delegate1.test.dyndns.
-1 delegate1.test.dyndns. IN NS 3600 ns2.delegate1.test.dyndns.
-2 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
Check delegate1 added correctly
--- Start: diff start step.1 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 'h4tlip64juuiun7hbl0bsvqkkshh3pkj' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate2.test.dyndns. IN NS 3600 ns1.delegate2.test.dyndns.
-1 delegate2.test.dyndns. IN NS 3600 ns2.example.com.
-2 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.example.com. IN A 120 192.168.1.2
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
Check delegate2 added correctly
--- Start: diff start step.2 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 'h4tlip64juuiun7hbl0bsvqkkshh3pkj' 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate1.test.dyndns.', qtype=ANY
-0 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate2.test.dyndns.', qtype=ANY
-0 ns2.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate2.test.dyndns.', qtype=ANY
check delegate delete
--- Start: diff start step.3 ---
> delegate1.test.dyndns NULL NULL NULL NULL 'h4tlip64juuiun7hbl0bsvqkkshh3pkj' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='ns1.delegate1.test.dyndns.', qtype=ANY
-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='ns2.delegate1.test.dyndns.', qtype=ANY
-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='ns1.delegate2.test.dyndns.', qtype=ANY
-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='ns2.delegate2.test.dyndns.', qtype=ANY
Check if glue records are deleted and zone back to how we started
--- Start: diff start step.4 ---
no difference
-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='delegate1.test.dyndns.', qtype=ANY
Answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: [id]
;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate1.test.dyndns. IN NS 3600 ns1.delegate1.test.dyndns.
-1 delegate1.test.dyndns. IN NS 3600 ns2.delegate1.test.dyndns.
-2 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
Check delegate1 added correctly
--- Start: diff start step.1 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 delegate2.test.dyndns. IN NS 3600 ns1.delegate2.test.dyndns.
-1 delegate2.test.dyndns. IN NS 3600 ns2.example.com.
-2 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-2 ns2.example.com. IN A 120 192.168.1.2
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 0, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
Check delegate2 added correctly
--- Start: diff start step.2 ---
> delegate1.test.dyndns NS 0 ns1.delegate1.test.dyndns 3600 NULL 0
;; ZONE SECTION:
;test.dyndns. IN SOA
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate2.test.dyndns.', qtype=ANY
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate1.test.dyndns.', qtype=ANY
-0 ns2.delegate1.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate1.test.dyndns.', qtype=ANY
-0 ns1.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns1.delegate2.test.dyndns.', qtype=ANY
-0 ns2.delegate2.test.dyndns. IN A 3600 127.0.0.1
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='ns2.delegate2.test.dyndns.', qtype=ANY
check delegate delete
--- Start: diff start step.3 ---
> delegate1.test.dyndns NULL NULL NULL NULL 'h4tlip64juuiun7hbl0bsvqkkshh3pkj' 1
;; ZONE SECTION:
;test.dyndns. IN SOA
-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='ns1.delegate1.test.dyndns.', qtype=ANY
-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='ns2.delegate1.test.dyndns.', qtype=ANY
-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='ns1.delegate2.test.dyndns.', qtype=ANY
-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='ns2.delegate2.test.dyndns.', qtype=ANY
Check if glue records are deleted and zone back to how we started
--- Start: diff start step.4 ---
no difference