• Celnert
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    Setting a second DNS in your router will bypass the pihole though, making it useless unless both servers point to a different pihole server

      • Celnert
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Care to elaborate? Last time I tried to set the secondary DNS as backup while keeping the pihole filtrering there was no real way to do it without having two piholes. Even the pihole developers said as much

    • KyuubiNoKitsune@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      1 month ago

      A secondary DNS server set in your DHCP options will do no such thing.

      The secondary DNS server is only used if lookups to the primary fail, say like when your pihole crashes or something.

      The only way it will work the way you think it’s going to, is if you set your DNS resolver to use round robin on a list of DNS servers.

      Its literally just a backup DNS server address, and is only used should the primary fail, and returning an nxdomain is not a failure.

      Please note, I use secondary to refer to the 2nd IP in your DHCP/DNS options, not to a secondary DNS server, which is something else.