Sunday, June 7, 2020

Help about DNS setup

Hi everyone, this is my first time posting here so I hope I won't make any mistake. My problem regards DNS, I would like some help about how to set it up. I have a common home internet connection, I bought from my ISP a static IP and I would like to buy a domain name to map to it, let's say name.com. At home I have different servers (hosts), let's say (using private IPs, which are static inside my lan):

server1 ip1

server2 ip2

server3 ip3

I would like to have different names for each host, for example:

host1.name.com -> ip1

host2.name.com -> ip2

host3.name.com -> ip3

One thing I would like to do, from a completely external network, is to ssh into a particular host just by

ssh user@host1.name.com

I think I have to mix my home NAT with a local DNS or something like that, cause the registrar will only map my public IP with name.com.

Any help? Thanks in advance!



No comments:

Post a Comment