Every month or so all my devices lose internet and the only way to connect them all back is to disconnect them from the DNS server that Pihole is running.

I set my Pihole to have a static IP but for some reason after around a month or maybe longer, it just fails. This has happened 4 times over the last while and the only fix is to essentially uninstall everything on my Pihole, disable it, and then reconfigure it from scratch again.

I’m not sure what’s going on so any help would be appreciated.

you are viewing a single comment's thread
view the rest of the comments
[+] 38 points 2 years ago* (last edited 2 years ago) (4 children)
  • [–] [S] 11 points 2 years ago* (last edited 2 years ago) (2 children)

    That’s a good idea that I hadn’t considered. I’ll see if I can get Pihole running on an old android phone I have lying around.

    Edit: I now have PiHole running on an old Pixel 3a and have decommissioned my PiHole docker container on my home server.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 2 years ago (1 child)

    I have a google router and It allows me to enter 2 DNS servers incase the first DNS Server doesnt work.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago*

    That's pretty standard for nearly every router and Internet connected device. There is almost always a setting for Primary and Secondary DNS servers. Sometimes you can even set more (ie. 2 IPv6 DNS servers in addition to the 2 IPv4 DNS servers)

  • source
  • parent
  • [–] 4 points 2 years ago

    I run pihole on a proxmox cluster (lxc containers), 2 separate IPs and I setup keepalived and made the virtual IP the primary dns ip that my dhcp server hands out, pihole1 is the master and pihole2 secondary. I use gravity sync to keep both piholes in sync. Works very well and I can reboot one at a time without losing dns at all. Techno tim on YouTube has a guide on how to setup keepalived on 2 pihole servers that helped me set it up.

  • source
  • parent
  • [–] 0 points 2 years ago (1 child)

    This is not an answer to the question at all

  • source
  • parent
  • hideshow 2 child comments