DNS Service not running in Pihole

Actual Behaviour:

The DSN Service doesn't start

Debug Token:

cu24m8svki

Hi, today i have a problem with Pihole, until a few minutes ago everything worked regularly, then stopped and the output of PIHOLE STATUS is:

[✗] DNS service is NOT running.

If I type sudo systemctl status dnsmasq.service the output is:

● 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: exit-code) since Sun 2018-07-22 10:13:39 CEST; 14min ago
  Process: 19581 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=1/FAILURE)
  Process: 19578 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)

Jul 22 10:13:39 raspberrypi dnsmasq[19578]: dnsmasq: syntax check OK.
Jul 22 10:13:39 raspberrypi dnsmasq[19581]: dnsmasq: junk found in command line
Jul 22 10:13:39 raspberrypi dnsmasq[19581]: junk found in command line
Jul 22 10:13:39 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Jul 22 10:13:39 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Jul 22 10:13:39 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.

I rebooted the system and used che command pihole -r but nothing :frowning:

Any idea?

I see the post "Dnsmasq Service Not Starting", in this post suggested to remove the package dns-root-data.

By removing that package everything runs smoothly

1 Like

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