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: dnsdist-1.3.3~151^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebca4e78fef89de4d32fa4cde01c69395c3e2de6;p=thirdparty%2Fpdns.git add sub.test.dyndns zone, add occluded record to parent --- diff --git a/regression-tests/named.conf b/regression-tests/named.conf index 295565875a..4eaf2a7cae 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 0000000000..93a4c4af22 --- /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 ae28cf76f2..ad2261448f 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