since today my pi-hole server random stopped working. This happen with a very old version months ago too. I completly reinstalled and everything was fine, until today. Can someone help me?
Look in the following logs and see if there are any errors shown around the time that Pi-hole stopped working:
/var/log/syslog
/var/log/pihole-FTL.log
And in the ouput of the following command from the Pi terminal:
dmesg
I did note this in your debug log. Your DHCP server is providing three DNS servers, none of which appear to be your Pi-hole. How are clients finding the Pi-hole DNS if the DHCP server is not providing the IP? And on what type of device are you hosting the Pi-hole? Is this on a VPS outside your LAN or on a device within your LAN?
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds
* Received 314 bytes from eth0:172.31.1.1
Offered IP address: redacted
Server IP address: redacted
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: /pxelinux.0
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 172.31.1.1
lease-time: 86400 ( 1d )
netmask: 255.255.255.255
router: 172.31.1.1
dns-server: 213.133.99.99
dns-server: 213.133.100.100
dns-server: 213.133.98.98
Microsoft Classless Static Route:
1: 172.31.1.1/32 via 0.0.0.0
2: default via 172.31.1.1
--- end of options ---
DHCP packets received on interface eth0: 1
DHCP packets received on interface lo: 0
it's a VPS server, hosted in a datacenter. That's very strange, I dont have DHCP activated on my pi-hole, because I dont need it. syslog.zip (19.3 KB) pihole-FTL.zip (398.4 KB) dmesg.zip (10.8 KB)
That's not what I am asking. You noted that port 53 is now blocked (which eliminates the open DNS resolver). But if this is the case, how are your clients accessing the remote Pi-hole for DNS on port 53? Are you using a VPN?
Yes, I blocked the port, because you told me to do it. Im not using a VPN. I setup in my router the dns server and the clients are connected to the router. Client <--> [intern] Router [extern] <--> DNS