I'm having trouble trying to find anything on the internet explaining how to do this...
I'm running Ubuntu 14.04 with repository current Bind9
I have a authoritative DNS server hosting my domain and my web/mail server on my network behind a single static external IP address that is shared by all the other computers in the building.
I have a DNS caching setup on a 2nd machine for all my out going DNS requests and I would like it so that when I type www.my.domain, the DNS cache will give the internal IP of the web-server instead of the external IP.
I haven't been about to find any information on how to do this, but I don't think I'm searching for the correct terminology.
i tried just adding the addresses to the /etc/hosts file and this doesn't work for the rest of the network.
i don't know where to look from here, can anyone point me in the correct direction.
thanks.