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
    0
    ·
    edit-2
    2 years 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.

  • Dhar@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    First thought: Is your PiHole’s static IP within the range of addresses your DHCP server hands out?

    • PerogiBoi@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      My Pihole lives on my server computer and so the DNS is the same IP address as that computer

      • whynotzoidberg@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        Irrelevant, unless your pihole is running on your DHCP server. Does the server running pihole have a statically assigned IP that is within the DHCP range being assigned to other devices?

        Static addresses should be outside of your DHCP range, ideally. If you can’t change the range, and assuming sequential handouts of IPs from your router among other things, you can try setting the server’s static IP to a bigger number.

        • ArbiterXero@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          The static address should be assigned from the dhcp server.

          Assigning a static address on the nic is a recipe for issues.

          Set up a static assignment in your dhcp server.

        • Xanthrax@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          Are we getting a repeat of the guy who’s wifi didn’t work because of a smart bulb?

  • MigratingtoLemmy@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 years ago

    If you can’t access your server and your router’s web interface, that’s a subnetting/DHCP allocation issue. Nothing to do with Pi-Hole.

    For reference, there’s 2 ways to allocate static addresses to devices:

    1. Define DHCP range, and configure the application to use a static address outside of the allocation pool.
    2. Give out static addresses by MAC.

    “Skill issue bro” /s

    • PerogiBoi@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Definitely a skill issue haha. I’m brand new to this stuff so I’m trying to learn as fast as possible. Appreciate the help and the explanations!