DNS Mapping to Internal Server


#1

I am using the peplink balance 210 as the authoritative DNS Name Server. I’m interested in having multiple A records using the same public IP and being able to map, by DNS, to different internal servers. I can see the peplink supports NAT Port Mapping for a WAN Public IP to an internal server but couldn’t find a way to map a specific DNS match to an internal server.

Public Static IP / Host / Internal LAN Server
173.55.44.33 --> foo.com --> 192.168.1.101 (Server A)
173.55.44.33 --> bar.com --> 192.168.1.102 (Server B)

Is it possible to create mappings to internal server IPs by the DNS vs port mappings?

My goal is to minimize Public IP usage. I know that I could achieve this using Apache and Url Rewriting like below, but is there a way the peplink balance could do this?

173.55.44.33 (Port 80) --> 192.168.1.100 (Apache - foo.com - Port 80) --> 192.168.1.101
173.55.44.33 (Port 80) --> 192.168.1.100 (Apache - bar.com - Port 80) --> 192.168.1.102