this post was submitted on 20 Jul 2024
21 points (92.0% liked)

Selfhosted

40296 readers
322 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 nginx up and working with pihole and its great. I can get to: https://dashy.homelab.duckdns.org/ On my PC but not my phone. On my phone, pfsense blocks it and says "Potential DNS Rebind attack detected, see https://en.wikipedia.org/wiki/DNS_rebinding Try accessing the router by IP address instead of by hostname."

Why? I've disconnected and reconnected to WiFi, and waited a day.

top 4 comments
sorted by: hot top controversial new old

The message says it all. DNS rebind means a domain name is pointing back to an internal IP address. You need to make an exception in pfsense for your domain dash.homelab.duckdns.org

This is normal ☝🏻

[–] transientpunk@sh.itjust.works 1 points 4 months ago (1 children)

I don't know the answer to your question, but you can get the functionality of pihole directly in pfsense using pfblocker-ng

[–] Dust0741@lemmy.world 1 points 4 months ago (1 children)

Including the local DNS settings? Like mapping my domain to an ip?

[–] transientpunk@sh.itjust.works 1 points 4 months ago

I mostly meant the DNS sinkhole functionality that pihole is famous for using to block ads. You wouldn't use pfblocker-ng for domain routing.

Here is a forum post from negate discussing what I think you're looking for.