Nginx pihole and pfsense issue
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.
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 ☝🏻
I don't know the answer to your question, but you can get the functionality of pihole directly in pfsense using pfblocker-ng
Including the local DNS settings? Like mapping my domain to an ip?
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.