Skip Navigation

When Pi-hole is down?

I have an asus router with a pi-hole on the network.

I was doing some work on my server and noticed that when pi-hole was down, I couldn't access the internet. I was looking for some ideas online how to deal with this, but they said to have a second pihole on the network in case one is offline. Is that the only way to do it? Is there any way to have the network go back to normal if the pihole is offline?

83 comments
  • Does it work if you change your DNS server by editing /etc/resolv.conf and having it show exactly one name server like

    nameserver 9.9.9.9

    ?

  • If you're router has a failover DNS option, usually listed as DNS 2, I would set something like quad 9 as your backup DNS. Address is 9.9.9.9.

    If you don't want to do that, then having a second instance of pihole running as the secondary DNS is pretty much your only good option

    • That's not how the two entries for DNS works. Devices will use both rather randomly, and therefore some requests will not be filtered.

      The best way is to run two instances for redundancy.

      • Can you send me some more information on this because this is the first I've ever heard that it would not automatically pick the fastest closest and most responsive DNS system available.

        No remote DNS server will ever be as fast as one that is local

      • Yeah, looks like you don't know what you're talking about.

        The second ipv4 DNS address is for redundancy and every network connected system will use the first one as long as it responds.

        It's perfectly fine to have a single pihole and use something like quad9 as a failover in the unlikely event that your pihole goes down unexpectedly.

83 comments