Skip to content

error: RPZ: name of record (drop.spamhaus.org.rpz.local.) to insert into RPZ #536

@UnveilTech

Description

@UnveilTech

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:

  1. use and apply the special script to download and convert Spamhaus RPZ file
  2. apply the Unbound part of RPZ in settings as explained from Drop2rpz (https://github.com/NLnetLabs/unbound/blob/master/contrib/drop2rpz)
  3. restart Unbound

Expected behavior
expectation to see the Spamhaus RPZ working

System:

  • Unbound version: 1.13.2
  • OS: Debian 9
  • unbound -V output:
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions