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.

Morethanevil
link
fedilink
English
84M

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 ☝🏻

Transient Punk
link
fedilink
English
14M

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
creator
link
fedilink
English
14M

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

Transient Punk
link
fedilink
English
14M

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.

Create a post

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!

  • 1 user online
  • 125 users / day
  • 420 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog