Please follow the below template, it will help us to help you!
Expected Behaviour:
PiHole should be running and resolving DNS for the network
Actual Behaviour:
No DNS resolution or web interface for PiHole. I had to add 8.8.8.8 to the router to resolve DNS
Debug Token:
PiHole could not upload the log file, got this error: 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_debug-sanitized.log
Let me know where I can upload the logfile. I tried uploading it to tricorder.pi-hole.net, but got a 403 Permission denied error.
sudo service dnsmasq status:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: signal) since Sun 2017-12-17 19:56:48 EST; 1 day 1h ago
Process: 3509 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=killed, signal=SEGV)
Process: 3506 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Dec 17 19:56:48 raspberrypi dnsmasq[3506]: dnsmasq: syntax check OK.
Dec 17 19:56:48 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=killed status=11
Dec 17 19:56:48 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Dec 17 19:56:48 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
sudo service dnsmasq start
Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and 'journalctl -xn' for details. $ systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: signal) since Mon 2017-12-18 21:03:31 EST; 50s ago
Process: 13058 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=killed, signal=SEGV)
Process: 13055 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
It looks like you're on v3.1.4, have you tried updating to v3.2? You probably will have to change /etc/resolv.conf to use a different DNS server to access the internet to do the update though.
Hi Mcat, just updated PiHole and unfortunately still stuck with the dnsmasq issue. Here is the journalctl -xn result after restarting dnsmasq service:
-- Logs begin at Sun 2017-12-24 09:04:10 EST, end at Sun 2017-12-24 09:13:46 EST. --
Dec 24 09:13:23 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
-- Subject: Unit dnsmasq.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has begun starting up.
Dec 24 09:13:23 raspberrypi dnsmasq[2392]: dnsmasq: syntax check OK.
Dec 24 09:13:23 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=killed status=11
Dec 24 09:13:23 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
-- Subject: Unit dnsmasq.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has failed.
--
-- The result is failed.
Dec 24 09:13:23 raspberrypi systemd[1]: Dependency failed for Host and Network Name Lookups.
-- Subject: Unit nss-lookup.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nss-lookup.target has failed.
--
-- The result is dependency.
Dec 24 09:13:23 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
I have already run apt-get update & upgrade and there's no updates.Anything else that I can try?
Just to chip in mine has also "stopped working" but only in appearance.
It seems Dnsmasq keeps failing to load in the web GUI even if you try to re-load it;
pihole status
[✗] DNS service is NOT running
However if I run the following;
pihole -g
[✓] Force-reloading DNS service
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
Maybe it's something screwy with the web GUI? what's even stranger is that when Dnsmasq is "Off" I can still browse the Internet fine despite Pihole being my sole DHCP/DNS server.