How to resolve DNS in LAN
I use apache web server in LAN. On changeip.com I use the free dns service, where I have a registered domain name.
If I connect to a web server under a domain name from wan, everything works great. If I connect from the LAN, I see a warning
Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding Try accessing the router by IP address instead of by hostname.
404 Not Found nginx
Nastavil som v services - dns resolver - Host Overrides
I disabled it in System / Advanced / AdminAccess "DNS Rebind Check" then it redirects to the default gateway.
How do I set DNS to work on my LAN?
If you’re using the DNS resolver for name resolution add a host override for your public domain pointing to the internal servers IP.
I set up in services - dns resolver - Host Overrides
The client you're testing from is not hitting the override if you're seeing the pfSense webgui. Is ut even using pfSense for DNS at all?
It was necessary to set
System / Advanced / Firewall & NAT / NAT Reflection mode for port forwards on Pure NAT
since then everything works
Yup, could well be DoH. Are you using Firefox?
Split DNS is generally better if you can do it as it doesn't load the firewall unnecessarily.