DNS service not running and webinterface shows "No connection to API"
Debug Token:
can't upload debug protokoll
Explanation
I did simply run pihole -up to update from lastest version at that time to the version 4.3. That's all.
After several hours DNS service stops running and webinterface shows "No connection to API". With an reboot of the pi I can solve the problem for some hours.
Hi jfb, my setting is that pi-hole is named as local dns (having a fritzbox) and all clients request pi-hole. within pi-hole custom dns is my fritzbox. Fritzbox has 9.9.9.9 as default DNS.
Even is this setting I should do what you stated above?
I would say this could be a solution when pi-hole is actively "asking" a upstream DNS like 9.9.9.9. But my pi-hole is asking my router and router sends it to upstream DNS. Or am I wrong?
Thanks!
BTW: There is an error while trying to upload the debgug log. Cannot upload it.
Yes. The Pi is using the DNS server specified in the resolv.conf file, which is likely not the router. It is usually 127.0.0.1 (the loopback address for the Pi), which leads it to the Pi-Hole.
May 22 18:12:37 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
May 22 18:12:37 raspberrypi pihole-FTL[24862]: Not running
May 22 18:12:37 raspberrypi su[24904]: Successful su for pihole by root
lines 1-11/15 70%
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
Active: active (exited) since Wed 2019-05-22 18:12:37 CEST; 50min ago
Docs: man:systemd-sysv-generator(8)
Process: 24808 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 24862 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/pihole-FTL.service
lines 1-8/15 49%...skipping...
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generate
Active: active (exited) since Wed 2019-05-22 18:
Docs: man:systemd-sysv-generator(8)
Process: 24808 ExecStop=/etc/init.d/pihole-FTL st
Process: 24862 ExecStart=/etc/init.d/pihole-FTL s
CGroup: /system.slice/pihole-FTL.service
May 22 18:12:37 raspberrypi systemd[1]: Starting LS
May 22 18:12:37 raspberrypi pihole-FTL[24862]: Not
May 22 18:12:37 raspberrypi su[24904]: Successful s
May 22 18:12:37 raspberrypi su[24904]: + ??? root:p
May 22 18:12:37 raspberrypi su[24904]: pam_unix(su:
May 22 18:12:37 raspberrypi pihole-FTL[24862]: FTL
May 22 18:12:37 raspberrypi systemd[1]: Started LSB
~
~
~
May 22 18:12:37 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
May 22 18:12:37 raspberrypi pihole-FTL[24862]: Not running
May 22 18:12:37 raspberrypi su[24904]: Successful su for pihole by root
May 22 18:12:37 raspberrypi su[24904]: + ??? root:pihole
May 22 18:12:37 raspberrypi su[24904]: pam_unix(su:session): session opened for user pihole by (uid=0)
May 22 18:12:37 raspberrypi pihole-FTL[24862]: FTL started!
May 22 18:12:37 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
pihole status says:
pi@raspberrypi:~ $ pihole status
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled