After reboot dns service is not running

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

[Replace this text with what you think should be happening. Please include as much detail as possible including, but not limited to:
-operating system
-hardware]

Actual Behaviour:

after rebooting the pi-hole's dnsmasq service is not running because port is in use error.

Debug Token:

https://tricorder.pi-hole.net/RFQJRcfz/

From your debug log, not necessarily related to your issue:

*** [ DIAGNOSING ]: Operating system
[i] dig return code:  0
[i] dig response:  "Raspbian=10,11 Ubuntu=18,20,21,22 Debian=10,11 Fedora=34 CentOS=7,8 Rocky=8"
[✗] Distro:  Ol
[✗] Error: Ol is not a supported distro (https://docs.pi-hole.net/main/prerequisites/)

What OS distribution are you running your Pi-hole on?

Your debug log shows dnsmasq to be active on yor system:

*** [ DIAGNOSING ]: Ports in use
[✗] udp:192.168.122.1:53 is in use by dnsmasq (https://docs.pi-hole.net/main/prerequisites/#ports)
    udp:0.0.0.0%virbr0:67 is in use by dnsmasq
[✗] tcp:192.168.122.1:53 is in use by dnsmasq (https://docs.pi-hole.net/main/prerequisites/#ports)

You'd need to uninstall or disable dnsmasq to free those required ports for pihole-FTL, Pi-hole's embedded dnsmasq variant.

Also, your router is distributing its own IP as DNS server:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   
   * Received 300 bytes from virbr0:192.168.122.1
     Offered IP address: 192.168.122.115
     DHCP options:
      Message type: DHCPOFFER (2)
      router: 192.168.122.1
      dns-server: 192.168.122.1

While that possibly would be a valid configuration (e.g. if your router would use Pi-hole as its upstream DNS resolver), it would be preferred if your router would distribute Pi-hole as local DNS server.

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