Pi-hole DNS service did not work after power outage

My Pi-hole (Raspberry) works fine since more then one year.

Yesterday we had a power outage (3 hours), but since them the pi-hole did not work correctly.
It's up and look generally fine, but it looks like it cannot access the DNS resolvers in the internet (possibly also NTP).

Ex. if I start "Update Gravity" got following problem:
##################

  [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  [✗] Status: Connection Refused
  [✗] List download failed: using previously cached list
  [✓] Parsed 131355 exact domains and 0 ABP-style domains (ignored 1 non-domain entries)
      Sample of non-domain entries:
        - "0.0.0.0"

###################

Ex. If I try nslookup from console got "SERVFAIL", but the ip of google.com is reachable via ping.
###################

pi@raspberrypi:~ $ nslookup google.com
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find google.com: SERVFAIL

pi@raspberrypi:~ $ ping 142.251.37.14
PING 142.251.37.14 (142.251.37.14) 56(84) bytes of data.
64 bytes from 142.251.37.14: icmp_seq=1 ttl=119 time=15.7 ms
64 bytes from 142.251.37.14: icmp_seq=2 ttl=119 time=15.3 ms
64 bytes from 142.251.37.14: icmp_seq=3 ttl=119 time=15.3 ms

####################

Also cannot upload the debug:
####################

[?] Would you like to upload the log? [y/N] y
    * Using curl for transmission.
    * curl failed, contact Pi-hole support for assistance.
    * Error message: curl: (6) Could not resolve host: tricorder.pi-hole.net

[✗] There was an error uploading your debug log.
   * Please try again or contact the Pi-hole team for assistance.
   * A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log

#####################

ANY idea how to solve?
(I'm a stupid user and do not have much knowledge with linux)

Thank you in advance!

SOLVED!

I've just solved it.
In fact it was the time problem.

The time over NTP was not updated and the was a 3 hour gap.
I've corrected the time and restarted the ntp daemon.

As result erverything works fine again. :slight_smile:

5€ for a RTC is really a good invest.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.