this post was submitted on 18 Nov 2025
37 points (95.1% liked)

Selfhosted

53057 readers
540 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
 

So, with the Cloudflare outage, I have found my self hosted services are not accessible outside of the home. I use a SWAG reverse proxy from linuxserver.io and bought my domain through cloudflare. I'm fairly new at this stuff, so is this a secure way of doing things? Does cloudflare have access to my data? I'm fairly new at this, so I apologize if this is a silly question. Is there some way to self host what cloudflare does?

you are viewing a single comment's thread
view the rest of the comments
[–] renegadespork@lemmy.jelliefrontier.net 2 points 2 days ago (1 children)

You can absolutely self-host DNS. Personally I use Pihole, and I had zero downtime of local services during the outage.

The primary reason most people use Pihole is for DNS filtering, blocking unwanted things like ads, trackers, and malware from loading. However, you can also list local DNS entries that Pihole will answer authoritatively without forwarding it to a public DNS like CloudFlare.

Of course, you will still need to use an upstream public DNS (like 1.1.1.1 for CloudFlare) or (8.8.8.8 for Google) for the public internet, and those sites would be subject to the same downtime as everyone else, but your local stuff will always resolve as long as your Pihole is available.

If you want something even simpler, your router might also support adding local DNS entries, then you just need to use DHCP (don’t manually set DNS on your devices) and your router should take care of it for you.

[–] Egonallanon@feddit.uk 1 points 2 days ago (1 children)

I don't believe pihole functions as an authorative DNS server though. Something like technetium does and they could be used as the nameservers for a domain while still offering all the same adblocking functionality that pihole does.

Though pihole could work of you were relying on a VPN to access your stuff remotely.

[–] renegadespork@lemmy.jelliefrontier.net 1 points 2 days ago (2 children)

If you manually add local DNS entries, it won’t forward the lookup, it will just point the client to the IP you specify. I do this all the time for intranet communication because it’s faster and more reliable.

[–] non_burglar@lemmy.world 2 points 2 days ago

Those are not authoritative responses, though. You can only add CNAME and A records to pihole, because it's built on dnsmasq and not on bind/unbound.

You can't add SOA records to pihole. Or zone transfers, or any actual DNS server functions, really. Pihole is just a forwarder.

[–] Egonallanon@feddit.uk 2 points 2 days ago

Sure but this won't work if you're accessing services outside your network like OP is doing. You're going to need publicly available DNS records somewhere to do that.