Cannot Resolve Domain Name from Internal IP
-
Hi Guys,
Strange issue, hopefully, I can explain it and its a simple solution.
I have a range of 5 WAN IP addresses assigned to my pfSense. I have pointed my domain name towards one of them to allow for web hosting as well as forwarded ports 80 and 443.
The issue happens when I try to access the DNS name from the internal network - it won't resolve. I assume this is due to it going out one virtual IP and coming back in another. It works when not connecting from the LAN and also works on a private Ip address but it does not resolve when accessing the name locally.
Hope someone can assist :)
-
@jaymei said in Cannot Resolve Domain Name from Internal IP:
works on a private Ip address but it does not resolve when accessing the name locally.
So you resolving this FQDN and it resolves to your wan IP? If so from lan that would be a nat reflection. You can either setup nat reflection to work.. Or the better solution would be a host override pointing this FQDN to the actual rfc1918 address.
https://www.netgate.com/docs/pfsense/nat/accessing-port-forwards-from-local-networks.html
-
That done the trick!
Thanks for the quick response (unlike mine)!