]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth 2136: in recently added TXT tests, hide SOA details
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 4 Jul 2022 14:07:22 +0000 (16:07 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 4 Jul 2022 14:52:06 +0000 (16:52 +0200)
regression-tests/tests/1dyndns-update-add-delete-txt/command
regression-tests/tests/1dyndns-update-add-delete-txt/expected_result

index 02b50e052dee435996356038c8e302cdd42ee3be..46077422587f8fc2b479113044ca3208fffbcbd7 100755 (executable)
@@ -3,7 +3,7 @@
 ## add + delete with explicit data
 
 # check all MX records
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # add mx record
 cleannsupdate <<!
@@ -15,7 +15,7 @@ answer
 !
 
 # check if record was really added
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # delete the just added record
 cleannsupdate <<!
@@ -27,7 +27,7 @@ answer
 !
 
 # check if the record was deleted.
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 
 ## add with explicit data (single string), remove whole RRset
@@ -42,7 +42,7 @@ answer
 !
 
 # check if record was really added
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # delete the just added record
 cleannsupdate <<!
@@ -53,7 +53,7 @@ send
 answer
 !
 # check if the record was deleted.
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 ## add with explicit data (single string), remove whole RRset
 
@@ -67,7 +67,7 @@ answer
 !
 
 # check if record was really added
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # delete the just added record
 cleannsupdate <<!
@@ -78,7 +78,7 @@ send
 answer
 !
 # check if the record was deleted.
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 ## add with explicit data (multiple strings, total over 255), remove whole RRset
 
@@ -92,7 +92,7 @@ answer
 !
 
 # check if record was really added
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # delete the just added record
 cleannsupdate <<!
@@ -103,7 +103,7 @@ send
 answer
 !
 # check if the record was deleted.
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 ## add with explicit data (multiple strings, total over 255), remove whole RRset by content
 
@@ -117,7 +117,7 @@ answer
 !
 
 # check if record was really added
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 # delete the just added record
 cleannsupdate <<!
@@ -128,12 +128,12 @@ send
 answer
 !
 # check if the record was deleted.
-cleandig test.dyndns TXT
+cleandig test.dyndns TXT hidesoadetails
 
 ## now remove the overly long entry that was autosplit
 
 # check that it exists now
-cleandig xautosplit.test.dyndns TXT
+cleandig xautosplit.test.dyndns TXT hidesoadetails
 
 # delete it
 cleannsupdate <<!
@@ -145,4 +145,4 @@ answer
 !
 
 # check that it is gone
-cleandig xautosplit.test.dyndns TXT
+cleandig xautosplit.test.dyndns TXT hidesoadetails
index 802d760874cbe8bff79a428b78134e70e73959f4..32e29787a0ff2914a4e90c1273c62d2e74918ba9 100644 (file)
@@ -1,4 +1,4 @@
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070126 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 Answer:
@@ -16,7 +16,7 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070128 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 Answer:
@@ -34,7 +34,7 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070130 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 Answer:
@@ -52,7 +52,7 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070132 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 Answer:
@@ -70,7 +70,7 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070134 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 Answer:
@@ -88,7 +88,7 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070136 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='test.dyndns.', qtype=TXT
 0      xautosplit.test.dyndns. IN      TXT     3600    "They fixed up the corner store like it was a nightclub - It's permanently disco - Everyone is dressed so oddly I can't recognize them - I can't tell the staff from the customers - Baby check this out, I've got something to say - Man, it's so loud in here " "- When they stop the drum machine and I can think again - I'll remember what it was"
@@ -100,6 +100,6 @@ Answer:
 ;; ZONE SECTION:
 ;test.dyndns.                  IN      SOA
 
-1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. 2022070137 28800 7200 604800 86400
+1      test.dyndns.    IN      SOA     3600    ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
 Rcode: 3 (Non-Existent domain), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='xautosplit.test.dyndns.', qtype=TXT