I have 2 computers on my private network behind a router (with a public IP). The public IP is DHCP and therefore keeps changing. I have setup dynamic DNS hosts to point to my updated public IP.
I have two dynamic DNS hosts pointing to the same public IP.
server1.dynamichost.com --> Public IP
server2.dynamichost.com --> Public IP
Question: if there is a solution to have the dynamic hosts route to my private IPs like this:
server1.dynamichost.com --> Public IP --> 10.0.1.1 (Private IP)
server2.dynamichost.com --> Public IP --> 10.0.1.2 (Private IP)
What do I need to do for this to work?