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.

  • Chaotic Entropy@feddit.uk
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 year ago

    My first thought on this was immediately “did you also reserve that static IP address on your router to make sure it remains assigned”. From what I’ve read that does seem to be the issue, so that’s a little validating.

    • PerogiBoi@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      I managed to get into my router and my Pihole server shows up as static and I’ve assigned it an address at the higher end of the DHCP range so we’ll see when the lease expire 🤷

      • Chaotic Entropy@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        As long as the router has the IP explicitly reserved for the device your PiHole is running off of then it won’t be reassigned.

      • deadbeef79000@lemmy.nz
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Don’t set the static IP within the DHCP range (well you can, but it then depends on how smart your dhcp server is, just avoid the situation).

        You run a risk of the same IP being assigned to another device.