Pi-Hole DNS Sinkhold
22 hours ago, PizzaTacoCat said:I believe in order to use the Pi-Hole as the default DNS provider you need to have a static IP address. Would this cause issues using a switch? Or could I be completely wrong with that?
A network device labeled as a switch doesn’t have any routing abilities. The routing will be handled by your router.
You are correct that your PiHole will need a static IP address if all of your client devices are to use it. This can be set at the router or PiHole level, the former of which I prefer since it is easier, but you might have limitations if the router doesn’t allow you to.
I also run a PiHole and UniFi Controller on my RPi. At my router (Edgerouter-X) I’ve set a static IP for the MAC address of the RPi so as soon as it boots up connected to my network it gets the same IP every time (this internal IP address is outside of the DHCP pool). I’ve also set the DNS server at the router level to reflect the static IP of the RPi. The benefit of this part is that I don’t have to set the DNS IP of each client device on the network unless if I specifically don’t want it to go through the PiHole.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now