]> granicus.if.org Git - pdns/commitdiff
add sub.test.dyndns zone, add occluded record to parent
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 16 Aug 2018 20:03:09 +0000 (22:03 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 21 Aug 2018 10:37:38 +0000 (12:37 +0200)
(cherry picked from commit ebca4e78fef89de4d32fa4cde01c69395c3e2de6)

regression-tests/named.conf
regression-tests/zones/sub.test.dyndns.orig [new file with mode: 0644]
regression-tests/zones/test.dyndns.orig

index 295565875a738b9be0fe9ba60ffb4f3b01d31692..4eaf2a7cae8e46236c75a4f51bce079f54387cf9 100644 (file)
@@ -25,6 +25,14 @@ zone "test.dyndns" {
        };
 };
 
+zone "sub.test.dyndns" {
+       type master;
+       file "sub.test.dyndns";
+       allow-update {
+               127.0.0.0/8;
+       };
+};
+
 zone "wtest.com"{
        type master;
        file "wtest.com";
diff --git a/regression-tests/zones/sub.test.dyndns.orig b/regression-tests/zones/sub.test.dyndns.orig
new file mode 100644 (file)
index 0000000..93a4c4a
--- /dev/null
@@ -0,0 +1,11 @@
+$TTL 3600
+$ORIGIN sub.test.dyndns.
+@              IN      SOA     ns1.test.dyndns.        ahu.example.dyndns. (  2012060701
+                       8H ; refresh
+                       2H ; retry
+                       1W ; expire
+                       1D ; default_ttl
+                       )
+
+@                      IN      NS      ns1.test.dyndns.
+@                      IN      NS      ns2.test.dyndns.
index ae28cf76f2ae26c6350a15180d3f1824ed5d5697..ad2261448fc659ba4dca844a0735a7b439b49632 100644 (file)
@@ -29,3 +29,8 @@ ttl                   IN      A       127.0.0.1
 *.wild                 IN      A       127.0.1.255
 a.host                 IN      A       1.1.1.1
 e.host                 IN      A       1.1.1.1
+
+sub                            IN NS ns1.test.dyndns.
+sub                            IN NS ns2.test.dyndns.
+
+occluded.sub   IN A 127.0.0.200
\ No newline at end of file