Hi,
I've been trying to setup a Pi-hole using a Raspberry Pi Zero 2 W.
The problem is that every Querry results in a 'SERVFAIL', the network router also doesn't make use of the pi-hole as DNS server. I think this is because the system time is not synchronized.
I am trying to make use of this pi-hole with unbound but that doesn't seem to be the issue.
When I've tried testing DNSSEC validation using (from unbound - Pi-hole documentation)
dig sigfail.verteiltesysteme.net @127.0.0.1 -p 5335
dig sigok.verteiltesysteme.net @127.0.0.1 -p 5335
The results matched the tutorial.
What I've done:
I've freshly installed Rasbian, hooked it up to my router and SSH'd into the Raspberry Pi, I sync up the time using the NPT-tool 'Chrony'. When this is installed and set up my system time is synchronized and accurate with no problems, even after rebooting.
Afterwards I install pi-hole, my time is still synchronized (I check this using 'timedatectl') but my pi-hole is not working. Then I reboot the system, after which my time is unsynchronized and I'm unable to get accurate time.
It seems that Pi-hole messes up the system time, when I didn't use Chrony for time synchronization I had the same problems.
I've tried using different NTP-pools/servers in /etc/chrony/conf but that hasn't made a difference:
#pool 2.debian.pool.ntp.org iburst
#pool pool.ntp.org iburst maxsources 3
server 0.europe.pool.ntp.org iburst
server 1.europe.pool.ntp.org iburst
server 2.europe.pool.ntp.org iburst
server 3.europe.pool.ntp.org iburst
Timedatectl output:
timedatectl
Local time: Tue 2022-02-22 14:47:07 CET
Universal time: Tue 2022-02-22 13:47:07 UTC
RTC time: n/a
Time zone: Europe/Amsterdam (CET, +0100)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
chronyc tracking
Reference ID : 00000000 ()
Stratum : 0
Ref time (UTC) : Thu Jan 01 00:00:00 1970
System time : 0.000000007 seconds fast of NTP time
Last offset : +0.000000000 seconds
RMS offset : 0.000000000 seconds
Frequency : 1.156 ppm fast
Residual freq : +0.000 ppm
Skew : 0.000 ppm
Root delay : 1.000000000 seconds
Root dispersion : 1.000000000 seconds
Update interval : 0.0 seconds
Leap status : Not synchronised
The commands 'chronyc -makestep' or restarting chronyc don't resolve the issue.
For some reason I can't upload my debug-token to tricorder.pi-hole.net so I hope I have provided enough information and can always provide more.