After updating Pihole to the latest versions of FTL, Web and Core, unbound no longer works as intended.
I don’t have the skills to judge to what extent there is a connection between the update and unbound.
I can only describe what the effects are for me.
After updating my “master” Pihole, access to the Internet no longer worked. I could no longer access any websites.
Switching from 127.0.0.1#5335 to the standard Googel DNS server showed that it must have something to do with unbound.
In the end it was due to an entry in the unbound configuration (dietpi.conf).
Under auth-zone there was an entry module-config: “ validator-iterator”, which now posed a problem. When I deactivated this entry and restarted unbound, everything seemed to work normally again.
Then I tested the resolution with dig dnssec.works @127.0.0.1 -p 5335
and was surprised that the ad-flag was no longer present.
root@pihole:~# dig dnssec.works @127.0.0.1 -p 5335
; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> dnssec.works @127.0.0.1 -p 5335
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35468
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;dnssec.works. IN A
;; ANSWER SECTION:
dnssec.works. 30 IN A 46.23.92.212
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5335(127.0.0.1) (UDP)
;; WHEN: Sat May 31 18:53:13 CEST 2025
;; MSG SIZE rcvd: 57
So the output would be correct:
; <<>> DiG 9.16.44-Debian <<>> dnssec.works @127.0.0.1 -p 5335
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6033
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;dnssec.works. IN A
;; ANSWER SECTION:
dnssec.works. 21418 IN A 5.45.107.88
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5335(127.0.0.1)
;; WHEN: Tue Oct 10 12:43:44 CEST 2023
;; MSG SIZE rcvd: 57
Now I checked my Backup Pihole systems and lo and behold, they all showed the same behavior.
But I have to say that the dietpi.conf for the Backup Pihole is slightly different, if not original, i.e. not edited after installation.
Unbound is available in version 1.7.1.
I did a little research and read that there are currently minor problems with 1.7.1. Can anyone confirm this?
This was a chance discovery for me after updating Pihole, only because the master Pihole no longer worked correctly due to the aforementioned entry.
I am not at all familiar with the matter, perhaps someone has the opportunity to check whether this is really the case.