4533. [bug] dns_client_update should terminate on prerequiste

failures (NXDOMAIN, YXDOMAIN, NXRRSET, YXRRSET)
                        and also on BADZONE.  [RT #43865]
This commit is contained in:
Mark Andrews
2016-12-13 15:47:03 +11:00
parent 4914e3ddc6
commit 8ca45ba01a
11 changed files with 188 additions and 70 deletions

View File

@@ -124,3 +124,9 @@ zone "many.test" {
allow-update { any; };
file "many.test.db";
};
zone "sample" {
type master;
allow-update { any; };
file "sample.db";
};

View File

@@ -0,0 +1,8 @@
@ 0 SOA ns1 . 0 0 0 0 0
@ 0 NS ns1
ns1 0 A 10.53.0.1
; a RRset that exists
exists 0 TXT This RRset exists.
; nxdomain
; A named without a TXT RRset
no-txt 0 A 1.2.3.4