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:
-Buster
-Rpi3
Actual Behaviour:
DNS service not running. FTL on web interface is down.
From your debug log, it would seem your Pi-hole has IPv4 connectivity, but fails to bind the DNS port 53. In consequence, it fails to receive and resolve any DNS queries: (click for log excerpt details)
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.1.6/24 matches the IP found in /etc/pihole/setupVars.conf
[i] Default IPv4 gateway: 192.168.1.1
* Pinging 192.168.1.1...
[✓] Gateway responded.
*** [ DIAGNOSING ]: Ports in use
127.0.0.1:45975 cloudflare (IPv4)
127.0.0.1:5053 cloudflare (IPv4)
*:5900 vncserver- (IPv6)
*:5900 vncserver- (IPv4)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[80] is in use by lighttpd
[80] is in use by lighttpd
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve hasznaltgumivetel.hu via localhost (127.0.0.1)
[✗] Failed to resolve hasznaltgumivetel.hu via Pi-hole (192.168.1.6)
[✓] doubleclick.com is 216.58.192.206 via a remote, public DNS server (8.8.8.8)
Let's see what processes are grabbbing ports on your system.
Run on your Pi-hole machine, what's the output of:
The new debug log just looks the same as your first.
It's probably worth noting that content of pihole-FTL.log has changed, while pihole.log just stayed the same.
This is coherent with Pi-hole starting up and logging normally, but not processing and logging any queries.
Let's check if pihole-FTL is running at all:
ps -e | grep "PID\|pihole"
And also check dnsmasq configuration for possible syntax errors:
Before my communication with you, I noticed that I can restart the RPI and every thing would work fine for about 10 min then DNS would stop working and FTL was down.
sudo lsof -p 5260
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
$ sudo systemctl status --full --no-pager pihole-FTL.service
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Sat 2020-09-05 05:46:51 CDT; 1h 25min ago
Docs: man:systemd-sysv-generator(8)
Process: 5215 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Sep 05 05:45:50 kidsraspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Sep 05 05:45:50 kidsraspberrypi pihole-FTL[5215]: Not running
Sep 05 05:45:51 kidsraspberrypi su[5233]: (to pihole) root on none
Sep 05 05:45:51 kidsraspberrypi su[5233]: pam_unix(su:session): session opened for user pihole by (uid=0)
Sep 05 05:46:49 kidsraspberrypi pihole-FTL[5215]: FTL started!
Sep 05 05:46:51 kidsraspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
pi@kidsraspberrypi:~ $