-
-
Notifications
You must be signed in to change notification settings - Fork 418
Description
Describe the bug
error: RPZ: name of record (drop.spamhaus.org.rpz.local.) to insert into RPZ is not a subdomain of the configured name of the RPZ zone (spamhaus-drop.rpz.local.)
To reproduce
Steps to reproduce the behavior:
- use and apply the special script to download and convert Spamhaus RPZ file
- apply the Unbound part of RPZ in settings as explained from Drop2rpz (https://github.com/NLnetLabs/unbound/blob/master/contrib/drop2rpz)
- restart Unbound
Expected behavior
expectation to see the Spamhaus RPZ working
System:
- Unbound version: 1.13.2
- OS: Debian 9
unbound -Voutput:
Version 1.13.2
Configure line: --prefix=/usr/local/unbound --sysconfdir=/etc --with-pidfile=/var/run/unbound.pid --with-rootkey-file=/usr/local/unbound/key/root.key --with-username=unbound --with-libevent --with-pythonmodule --with-libnghttp2 --enable-cachedb --with-libhiredis=/usr
Linked libs: libevent 2.0.21-stable (it uses epoll), OpenSSL 1.1.0l 10 Sep 2019
Linked modules: dns64 python cachedb respip validator iterator
BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues
Additional information
Spamhaus RPZ works with Unbound 1.10 but errors with the 1.13.x
Errors in the unbound.log:
[1629880588] unbound[20641:0] error: RPZ: name of record (drop.spamhaus.org.rpz.local.) to insert into RPZ is not a subdomain of the configured name of the RPZ zone (spamhaus-drop.rpz.local.)
[1629880588] unbound[20641:0] error: /etc/unbound/spamhaus-drop.rpz.local:2 cannot insert RR of type SOA
[1629880588] unbound[20641:0] error: error parsing zonefile /etc/unbound/spamhaus-drop.rpz.local for spamhaus-drop.rpz.local.
[1629880588] unbound[20641:0] fatal error: auth_zones could not be setup