• DefederateLemmyMl
    link
    fedilink
    English
    10
    edit-2
    2 days ago

    Secondary DNS is not for redundancy!

    The way secondary DNS works is that a client distributes DNS requests across the primary and secondary DNS servers. So if you have pihole as your primary DNS and, say, 8.8.8.8 as your secondary DNS, you’re sending half of your DNS requests to google unfiltered. And if your pihole DNS goes down, half of your DNS queries time out.

    The way to have redundancy with DNS is with a standby server that takes over the IP of the primary server if it goes down. You can do this with keepalived.

    • JackbyDev
      link
      fedilink
      English
      22 days ago

      That’s so weird wtf why don’t they call it something like “DNS pool” then?