View test_rfc8020_nodata_bis.diff
diff --git a/pdns/recursordist/test-syncres_cc2.cc b/pdns/recursordist/test-syncres_cc2.cc | |
index 5d165fae7..bd731497e 100644 | |
--- a/pdns/recursordist/test-syncres_cc2.cc | |
+++ b/pdns/recursordist/test-syncres_cc2.cc | |
@@ -582,6 +582,78 @@ BOOST_AUTO_TEST_CASE(test_rfc8020_nodata) { | |
BOOST_CHECK_EQUAL(SyncRes::getNegCacheSize(), 2); | |
} | |
+BOOST_AUTO_TEST_CASE(test_rfc8020_nodata_bis) { | |
+ std::unique_ptr<SyncRes> sr; |
View rpz-example-dig
$ dig www.example.net @::1 +short | |
192.168.2.5 |
View rpz-master
rpzMaster("192.0.2.1", "rpz.example.net", {policyName="example"}) |
View rpz-file
rpzFile("basic.rpz", {}) |
View lua-config-file
lua-config-file=/etc/powerdns/recursorconf.lua |
View example.rpz
$TTL 2h; | |
$ORIGIN domain.example.com. | |
@ SOA powerdns.example.net. hostmaster.example.com ( 1 12h 15m 3w 2h) | |
NS powerdns.example.net. | |
; begin RPZ RR definitions | |
example.net A 192.168.2.5 | |
*.example.net A 192.168.2.5 |