My dns service is not running can someone help?

!

Expected Behaviour:

i think the app should block ads

Actual Behaviour:

DNS service is not running

Debug Token:

s7pocxeksp

Your debug log shows clients and domains being blocked, how have you determined that DNS is not running?

In de admin portal its showing: DNS service not running

And when i enable it stops immediately

What is the output from:

sudo systemctl status dnsmasq

● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Active: active (running) since Thu 2017-07-20 20:23:36 CEST; 1 day 13h ago
Process: 4481 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exite
Process: 4521 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code
Process: 4514 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=
Process: 4512 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUC
Main PID: 4520 (dnsmasq)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/dnsmasq.service
└─4520 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r

jul 20 20:23:34 pihole systemd[1]: Starting dnsmasq - A lightweight DHCP and cac
jul 20 20:23:34 pihole dnsmasq[4512]: dnsmasq: syntax check OK.
jul 20 20:23:36 pihole systemd[1]: Started dnsmasq - A lightweight DHCP and cach

I had the same issue when installing pi-hole on a new Debian 9 install
got the message "DNS server not running"

i found out that the dns server was running.

The netstat command wasn't known by default.
so i've installed net-tools and now it shows dns server is running.

maybe this can be your problem?

apt-get install net-tools

Socio,

Thank you so much! This was exactly my problem!

This helped me too as I had the same problem. Running pihole on pi3 with debian stretch 64bit (not raspbian).

2 posts were split to a new topic: DNS service not running after 3.3 update