]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
doc improvement and zap debug line 13501/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Nov 2023 10:09:29 +0000 (11:09 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Nov 2023 10:10:22 +0000 (11:10 +0100)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/recursordist/docs/lua-config/rpz.rst
pdns/recursordist/test-rpzloader_cc.cc

index cd420505f9982a31d130dcc782b38ea6df870771..34c77e06d08c54dbb79c40b6b41a881126836f51 100644 (file)
@@ -162,7 +162,7 @@ ignoreDuplicates
 ^^^^^^^^^^^^^^^^
 .. versionadded:: 5.0.0
 
-When loading an RPZ, ignore duplicate entries.
+When loading an RPZ, ignore duplicate entries, keeping only the first one present in the zone.
 Defaults to ``false``, duplicate entries will cause failure to load the zone.
 
 maxTTL
index 04793abfb11b39756d0c80ff88123dcb3ad9bb3f..ba19c66ba230b0f2f5735041a56b7c0355a20f8a 100644 (file)
@@ -108,7 +108,6 @@ BOOST_AUTO_TEST_CASE(load_rpz_ok)
   ::arg().set("max-generate-steps") = "1";
   ::arg().set("max-include-depth") = "20";
   auto zone = std::make_shared<DNSFilterEngine::Zone>();
-  cerr << "rpz " << rpz << endl;
   auto soa = loadRPZFromFile(rpz, zone, boost::none, false, 3600);
   unlink(rpz.c_str());