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

Selfhosted

40113 readers
1693 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 1 year 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) 35 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago

I have Pihole in a Proxmox LXC Container that does just that. Just Pihole. It is set to automatically restart.

All for that Reason that you just named.

[–] [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]

[–] [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] 0 points 9 months ago (16 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.

[–] [email protected] -2 points 9 months ago (10 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 (10 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 ›