Please follow the below template, it will help us to help you!
Expected Behaviour:
Pi-hole to be used as a DNS for all devices without disconnect
Actual Behaviour:
Unable to access pi-hole on some devices and pi-hole cause internet to disconnect
Debug Token:
8eqduog3al
So I have a weird issue and I'm not quite sure what could be causing the problem. So I have pi-hole set up on a Pi zero-w. I am using diet-pi. I have a static IP on the router set up for the pi-hole. I am using the router for DHCP, Asus AC88U.
So every few hours or so my internet is disconnected on my computer and smart tv. I am unable to access the GUI web interface on any browser on my computer. I am unable to SSH into the pi completely. Now the weird thing that is happening is I am able to connect to the internet and continue to use the pi-hole as a DNS on my phone and a few other devices. I am able to access the GUI interface on my phone as well.
What I usually have to do to fix it is change the LAN DNS setting from the pi-hole to another DNS. Then I am able to access the pi-hole via SSH or by the web. I can then change it back to pi-hole DNS and everything is normal. after 4-6 hours or so I have to do the whole thing again. I thought it might be my computer and having interference with my VPN. But since my smart tv fails to connect as well, I have no idea what is up. Have trie multiple different settings, and my next step is to setup the pi-hole as the DHCP. Does anyone know what exactly is going on or what I can do to fix it.
TV is connected via internet, computer is on the 5 Ghz wifi, and phone is also on 5 Ghz.
EDIT: So I figured out what was wrong. It apparently had something to do with my router having a bug with the 2.4 ghz band. It would kick off things every few minutes. But since the pi-hole was the only thing on it I had nothing else to test with. Until I got a new printer on the same band. Was able to change a few settings in the router and now it does not disconnect. Not sure why I could access the UI via some devices than others but it doesn't matter now. Anyways, if people are interested, the router is an ASUS 88U. I had to change the 2.4 to N only, and change the bandwidth to 20. That prevents the router switching from N to B to G. Mods, please feel free to mark this solved. Thanks
I use the IP address. (192.168.x.xxx/admin) But I can not access the pi-hole via web or SSH only on the computer. I can access it via my phone's web browser.
I have the same problem on my iphone on 2.4ghz but my computer on ethernet never once has lost connection. iPhone X intermittent connection - #3 by RamSet One of the comments in this thread is from a developer saying he has the same problem and doesn't fully understand it either.
I would just like to update everyone and make sure this doesn't die.
So I decided to switch OS on the Pi thinking maybe diet-pi was causing the problem. I switched to the support Raspbien Stretch Lite. It however is doing the same thing. It stops pulling DNS results and simply wont allow me to connect to it. The only way I am able to reestablish connection is by removing it as a DNS server from the router.
So it is either Pi-Hole software, the Pi, or some settings I have set up on my router that causes the Pi to freeze after a few hours. Anyone have any ideas.
I am not sure anymore since I am no longer using pi-hole as the router's default DNS. It was causing to many problems. But since I was able to access the pi-hole/admin on certain devices I would assume it I could ping it. I currently have it set up on two devices manually but it still crashes constantly and then refuses to get DNS results. When this happens I am unable to access anything, SSH, Admin, Or Ping (but that is not surprising since if pi-hole crashes, it would not be able to ping it no matter the router settings), until I remove the pi-hole as the DNS server on the devices. Then It will start to work again. I am going to only run my phone through the pi-hole to see if it is a load issue.