Seeing as I’m on the same network as my company’s webserver I have set up an internal domain server (Windows Server 2008 R2) to forward request to our domain to the correct internal IP (i.e. www.myserver.com
=> 192.168.1.2
so that we don’t have to go through the internet to access something on the local network). Our domain provider also has a DNS server for external request (which I can administer through settings on their website where I can generate subdomains).
Some of our public subdomains point to other servers than our own. If I add a subdomain (that doesn’t point to our own server) to the external DNS I also need to add it to our internal DNS for it to function properly.
Lets say we have a subdomain on the external DNS called sub.myserver.com
, but it doesn’t point to our server. If I try to ping that domain from within our own network it contacts our internal DNS, sees that there’s no information about it there, and gives up, resulting in a cannot resolve sub.myserver.com: Unknown host
.
We can’t have external requests go to our own DNS server, because… reasons.
Is it possible to have unknown internal domains be forwarded to the external DNS? (I guess another way to phrase this is to have one domain hosted on two servers)