Hy everyone, I have a PiHole instance running on my home server, and I changed my router (Fritz box) DNS in order to use my PiHole. Everything runs great.

I was wondering if I can put another DNS provider on my “alternative DNS server” in my router, in order to have a fallback alternative in case my server is down, or if I should avoid it.

I’m asking this because I don’t know if the request will be handled in parallel between the two DNS provider (that would make my PiHole useless) or not. Thank you.

    • Kir@feddit.itOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      uh! this is interesting! I’m gonna look into this. Thanks!

  • mateomaui@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    I would avoid it, as it may use the alternate instead of the pihole at anytime. If you want redundancy, it’s best to have a second pihole.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    PiHole Network-wide ad-blocker (DNS sinkhole)
    VPS Virtual Private Server (opposed to shared hosting)

    3 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.

    [Thread #433 for this sub, first seen 17th Jan 2024, 09:35] [FAQ] [Full list] [Contact] [Source code]

  • rentar42@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    The issue is that according to the spec the two DNS servers provided by DHCP are equivalent. While most clients favor the first one as the default, that’s not universally the case and when and how it switches to the secondary can vary by client (and effectively appear random). So you won’t be able to know for sure which client uses your DNS, especially after your DNS server was unreachable for a while for whatever reason. Personally I’ve “just” gotten a second Pi to run redundant copies of PiHole, but only having a single DNS server is usually fine as well.

    • Kir@feddit.itOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      This answered my question. Thank you. I guess I will sacrifice redundancy

        • dorkage@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          I run multiple pinholes using keepalived. Then I only use one DNS in my DHCP server. Second pihole will seemlessly take over if the first one goes down whilst using the original DNS address.

          Work quite well. I had to learn the hard way that only using a single pihole was just asking for my partner to be mad when it didn’t work / when I was doing server maintenance. Now I have multiple and they can all seemlessly take over if any my server nodes are down

  • BentiGorlich@gehirneimer.de
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    You should put your pihole server in the dns server in the network settings. My mobile devices didn’t use my pihole server until I changed the dns server configured there… (I am using a FritzBox as well)

  • Darkassassin07@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    I setup a second pihole for redundancy.

    90% of network traffic uses the primary, but some things like to use both or exclusively the secomd one on random days.

    I use Gravity-Sync to keep the settings/lists between them identical. (lots of local dns records for local self-hosted stuff, and each device has a static ip + dns record to identify it easily in logs)