I have several services installed on my home server and some other units. I want to access such services both from Internet and from internal home LAN using the same domain name.
At this moment my home network has name <my_router>.ddns.net. All services are redirected to proper node by port mapping (NAT) in router (as always).
So I want install dnsmasq on my home server as DNS server for local network and forwarder to OpenDNS nameservers. It is planned that /etc/hosts file will have entry like this:
Code:
192.168.0.120 <my_router>.ddns.net
Question is. Will be all the traffic addressed to <my_router>.ddns.net be forwarded to address 192.168.0.120 when I am inside my LAN? Be patient that in both cases I use that same host and domain name.
Nest question is. Will be other (not local) addresses located in ddns.net domain available to?
I never used dnsmasq - so my questions.