From: Peter van Dijk Date: Thu, 16 Aug 2018 20:03:09 +0000 (+0200) Subject: add sub.test.dyndns zone, add occluded record to parent X-Git-Tag: auth-4.1.4^2~2^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec486b7522596bc285747a9349a2b60ff615d114;p=pdns add sub.test.dyndns zone, add occluded record to parent (cherry picked from commit ebca4e78fef89de4d32fa4cde01c69395c3e2de6) --- diff --git a/regression-tests/named.conf b/regression-tests/named.conf index 295565875..4eaf2a7ca 100644 --- a/regression-tests/named.conf +++ b/regression-tests/named.conf @@ -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 index 000000000..93a4c4af2 --- /dev/null +++ b/regression-tests/zones/sub.test.dyndns.orig @@ -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. diff --git a/regression-tests/zones/test.dyndns.orig b/regression-tests/zones/test.dyndns.orig index ae28cf76f..ad2261448 100644 --- a/regression-tests/zones/test.dyndns.orig +++ b/regression-tests/zones/test.dyndns.orig @@ -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