-
-
Notifications
You must be signed in to change notification settings - Fork 418
Closed
Description
Describe the bug
Loads of log output about validation failures for a non-DNSSEC signed zone, probably due to that RPZ blocks.
Aug 27 06:50:52 resolver unbound: [1387:7] info: validation failure <jsrcp.com. MX IN>: key for validation jsrcp.com. is marked as invalid because of a previous
Aug 27 06:50:52 resolver unbound: [1387:2] info: validation failure <jsrcp.com. A IN>: key for validation jsrcp.com. is marked as invalid because of a previous
Aug 27 06:50:52 resolver unbound: [1387:a] info: rpz: applied [badrep.host] jsrcp.com. rpz-nxdomain jsrcp.com. DNSKEY IN
Aug 27 06:50:52 resolver unbound: [1387:a] info: rpz: applied [badrep.host] jsrcp.com. rpz-nxdomain jsrcp.com. NS IN
Aug 27 06:50:52 resolver unbound: [1387:f] info: validation failure <jsrcp.com. A IN>: key for validation jsrcp.com. is marked as invalid because of a previous
To reproduce
Steps to reproduce the behavior:
- Add RPZ zone that blocks the domain
- Try to resolve the domain
Expected behavior
I suggest a few different things:
- Stop validation attempts if RPZ is at work (if it's blocked does Unbound need to do additional work?)
- Prune the log output regarding the validation failures if RPZ kicks in and change stuff
- Fix the log message so it's more clear what it refers to
validation failure <jsrcp.com. A IN>: key for validation jsrcp.com. is marked as invalid because of a previousseems incomplete, can it be more clear what it refers to?
System:
- Unbound version: 1.21.0
- OS: Ubuntu 20.04
unbound -Voutput:
Version 1.21.0
Configure line: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --with-pidfile=/run/unbound.pid --with-rootkey-file=/var/lib/unbound/root.key --with-libevent --with-libhiredis --with-libnghttp2 --with-pythonmodule --enable-cachedb --enable-subnet --enable-dnstap --enable-systemd --with-chroot-dir= --with-dnstap-socket-path=/run/dnstap.sock --libdir=/usr/lib
Linked libs: libevent 2.1.11-stable (it uses epoll), OpenSSL 1.1.1f 31 Mar 2020
Linked modules: dns64 python cachedb subnetcache respip validator iterator
Additional information
None ATM
Metadata
Metadata
Assignees
Labels
No labels