Jun 25 08:18:38 dnsmasq[615]: query[AAAA] 1.debian.pool.ntp.org from 127.0.0.1
Jun 25 08:18:38 dnsmasq[615]: forwarded 1.debian.pool.ntp.org to 1.0.0.1
Jun 25 08:18:38 dnsmasq[615]: reply 1.debian.pool.ntp.org is 51.255.197.148
Jun 25 08:18:38 dnsmasq[615]: reply 1.debian.pool.ntp.org is 5.9.113.140
Jun 25 08:18:38 dnsmasq[615]: reply 1.debian.pool.ntp.org is 31.130.200.24
Jun 25 08:18:38 dnsmasq[615]: reply 1.debian.pool.ntp.org is 37.187.122.11
Jun 25 08:18:38 dnsmasq[615]: reply 1.debian.pool.ntp.org is NODATA-IPv6
Jun 25 20:34:55 dnsmasq[615]: query[A] api.eu.amazonalexa.com.fritz.box from 10.13.37.101
Jun 25 20:34:55 dnsmasq[615]: forwarded api.eu.amazonalexa.com.fritz.box to 1.0.0.1
Jun 25 20:34:55 dnsmasq[615]: forwarded api.eu.amazonalexa.com.fritz.box to 1.1.1.1
Jun 25 20:34:55 dnsmasq[615]: query[A] www.facebook.com.fritz.box from 10.13.37.20
Jun 25 20:34:55 dnsmasq[615]: forwarded www.facebook.com.fritz.box to 1.0.0.1
Jun 25 20:34:55 dnsmasq[615]: query[A] www.facebook.com from 10.13.37.20
Jun 25 20:34:55 dnsmasq[615]: /etc/pihole/gravity.list www.facebook.com is 0.0.0.0
Jun 25 20:34:55 dnsmasq[615]: query[A] clients1.google.com.fritz.box from 10.13.37.20
Jun 25 20:34:55 dnsmasq[615]: forwarded clients1.google.com.fritz.box to 1.0.0.1
Jun 25 20:34:55 dnsmasq[615]: query[A] clients1.google.com from 10.13.37.20
Jun 25 20:34:55 dnsmasq[615]: forwarded clients1.google.com to 1.0.0.1
Jun 25 20:34:55 dnsmasq[615]: reply clients1.google.com is <CNAME>
Jun 25 20:34:55 dnsmasq[615]: reply clients.l.google.com is 172.217.18.110
What I have tried so far is creating a cronjob for restarting the Pi at 4AM everyday but unfortunately this did not work.
It could be that this is SDCard related maybe? Just a thought of mine... But the Pi does work normally though.
The debug log is clean and it does show that the DNS blocking is working.
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] playboysamking.blogspot.ba is 0.0.0.0 via localhost (127.0.0.1)
[✓] playboysamking.blogspot.ba is 0.0.0.0 via Pi-hole (10.13.37.2)
[✓] doubleclick.com is 172.217.18.14 via a remote, public DNS server (8.8.8.8)
When you are experiencing DNS issues, without attempting any repair steps, run
sudo systemctl status --full --no-pager pihole-FTL.service and post the result of that output.
Thanks for answering, sorry I oversaw your answer here is the requested log:
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
Active: active (exited) since Sun 2019-06-30 20:57:32 CEST; 7min ago
Docs: man:systemd-sysv-generator(8)
Process: 480 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/pihole-FTL.service
Jun 30 20:57:28 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Jun 30 20:57:29 raspberrypi pihole-FTL[480]: Not running
Jun 30 20:57:29 raspberrypi su[575]: Successful su for pihole by root
Jun 30 20:57:29 raspberrypi su[575]: + ??? root:pihole
Jun 30 20:57:29 raspberrypi su[575]: pam_unix(su:session): session opened for user pihole by (uid=0)
Jun 30 20:57:32 raspberrypi pihole-FTL[480]: FTL started!
Jun 30 20:57:32 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
-- Logs begin at Sun 2019-06-30 20:57:07 CEST, end at Sun 2019-06-30 22:48:52 CEST. --
Jun 30 20:57:28 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Jun 30 20:57:29 raspberrypi pihole-FTL[480]: Not running
Jun 30 20:57:29 raspberrypi su[575]: Successful su for pihole by root
Jun 30 20:57:29 raspberrypi su[575]: + ??? root:pihole
Jun 30 20:57:29 raspberrypi su[575]: pam_unix(su:session): session opened for user pihole by (uid=0)
Jun 30 20:57:32 raspberrypi pihole-FTL[480]: FTL started!
Jun 30 20:57:32 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
Until now yes. Sometimes it takes several days to stop working again. I will look a bit closer on this and will send all logs again if it occurs again. Thanks alot!!
I don't if pi-hole is causing this, after I ran in this problem again today, I noticed that I couldn't even connect to my PI via SSH "connection reset-by-peer". And I had to unplug it and plug it in again.
My guess is a broken/insufficient power supply. This can cause unstable operation and crashes in unforeseeable intervals, e.g., under heavier load when it decides to update the package lists or some other background job is triggered.
Can you check if the situation improves with a different (more beefy) power supply?
Sure I can check. But I recently already changed from one p-supply to another (new one should be better). I will check this, and come back 2 you thanks.