this post was submitted on 04 Feb 2024
47 points (98.0% liked)

Selfhosted

40394 readers
620 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

(page 2) 36 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

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

?

[–] [email protected] 1 points 9 months ago* (last edited 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
AP WiFi Access Point
DNS Domain Name Service/System
HA Home Assistant automation software
~ High Availability
IP Internet Protocol
LXC Linux Containers
PiHole Network-wide ad-blocker (DNS sinkhole)

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

[Thread #481 for this sub, first seen 4th Feb 2024, 14:35] [FAQ] [Full list] [Contact] [Source code]

[–] HybridSarcasm 0 points 9 months ago (14 children)

Add another DNS server (1.1.1.1, for instance) to your DHCP options. Your DHCP clients will use 1.1.1.1 when the pi-hole isn’t responsive.

[–] Rooki 2 points 9 months ago (2 children)

Does it really do that? I thought if pi-hole blocks it, it just says nothing here, normally a pc then looks up your secondary dns and then ads are back at it.

This was my experience when i did that.

load more comments (2 replies)
load more comments (12 replies)
[–] [email protected] -2 points 9 months ago (11 children)

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

load more comments (11 replies)
[–] [email protected] -4 points 9 months ago (2 children)

Umm, yea, if your DNS server is offline, how do your machines know how to resolve DNS names to IP addresses?

Which is why IP config has the capability for multiple DNS servers.

If this is surprising, you may wanna read up on your networking.

load more comments (2 replies)
[–] [email protected] -5 points 9 months ago* (last edited 9 months ago)

What are you asking? It sounds like you need some sort of HA (high availability)

load more comments
view more: ‹ prev next ›