I have a few machines set up on my internal 192.168.1.* network and I have one public IP, my router is linked all ports to on internal Linux machine on my network 192.168.1.3. I want to know how to configure the DNS server on my Linux box to forward to internal LAN IP's depending on the hostname. EG. computer4.83.22.56.12 would find my box then forward to 192.168.1.4 on the local network.
This is so I can run multiple web server under one IP. btw, I use Ubuntu.
Thanks, Dave
Edit --
Sorry for the confusing question, I may have asked it drunk. What I meant was I have multiple Linux boxes behind my routers NAT they all have a local IP 192.168.1.2-10. I have one public IP which just points to the router (another Linux box) I want that to direct to one of the boxes by the subdomain/hostname. For example:
domain.com -> router -> main box on public IP
box2.domain.com -> router -> 192.168.1.3
Hope that help? Can you help me?
--