Resolve domain to internal IP address
-
I am new to pfSense, so forgive the noob question...
I purchased a domain that I want to resolve differently when inside the LAN. I would like to resolve it to pfSense's IP.
So (just an example)...
ouside world: mydomain.com -> 65.254.242.180
inside network: mydomain.com -> 192.168.1.1I have tried adding this to domain overrides in the DNS resolve but have had no luck.
Is something even possible to do in pfSense?
-
Yes, that's how I have it set up. I use an external DNS server, with my real world addresses and configure the pfSense DNS to provide the local network address. Works fine.
-
Domain override would be when you want to ask a specific nameserver to resolve something fro you like host.domain.com or other.domain.com, you would create a domain override for domain.com pointing to some name server IP address that will resolve x.domain.com for you.
If you want mydomain.com to return 192.168.1.1
Then you would create a HOST override for domain.com where host would be domain and domain would be com
-
This accomplished exactly what I was after... I didn't event think about putting in a top-level domain.
Thanks for the help!