-
|
Hello, Pdns-recursor version PowerDNS Recursor 5.4.1 (C) PowerDNS.COM BV
Using 64-bits mode. Built using clang 18.1.3 (1ubuntu1) on Apr 7 2026 09:21:53 by root@localhost.
PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Features: libcrypto-ecdsa libcrypto-ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream snmp sodium libssl gnutls curl DoT scrypt libcap
Configured with: "-Dpython.bytecompile=-1 -Db_lto=true -Db_lto_mode=thin -Db_pie=true -Dhardening-fortify-source=disabled -Dunit-tests=true -Dtls-libssl=enabled -Dtls-gnutls=enabled -Ddns-over-tls=enabled -Ddnstap=enabled -Dlibcap=enabled -Dsigners-libsodium=enabled -Dsnmp=enabled -Dnod=enabled -Dsystemd-service=enabled -Dsystemd-service-user=pdns -Dsystemd-service-group=pdns -Dlua=luajit -Dprefix=/usr -Dlibdir=lib/x86_64-linux-gnu -Dlibexecdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc/powerdns -Dbuildtype=plain -Dwrap_mode=nodownload"OS: Ubuntu 24.04 Pdns-recursor rpz configuration rpzs:
- name: '/etc/powerdns/zone.rpz'
In my zone.rpz file, I defined both exact and wildcard rules: I noticed that only the wildcard (*.malware.domain.net) was being enforced, while the exact match (malware.domain.net) was not. To work around this, I added both entries. My questions is is there a way to reload RPZ zones without restarting the entire service? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, this is intended behaviour, see https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-dns-rpz-00#section-4.2 Reloading lua config or yaml config with |
Beta Was this translation helpful? Give feedback.
Yes, this is intended behaviour, see https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-dns-rpz-00#section-4.2
Reloading lua config or yaml config with
rec_control reload-lua-configorrec_control reload-yamlwill reload RPZs. With RPZs served from an authoritative server, you can also use notify (you need to enable that, see https://docs.powerdns.com/recursor/yamlsettings.html#incoming-allow-notify-from and https://docs.powerdns.com/recursor/yamlsettings.html#incoming-allow-notify-for.