• DefederateLemmyMl@feddit.nl
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    5 hours 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.