I have a windows Server 2003 machine serving as a DNS server which I am using to override a number of DNS entries to route them to local IP addresses rather than public addresses. I can create a DNS entry (HOST / A) for www.foo.com, but I have been unable to figure out how to override the DNS entry for foo.com itself.
Here's what I have:
on public DNS servers foo.com and *.foo.com point to 22.214.171.124 126.96.36.199 is a NAT device that is mapping 188.8.131.52 to a machine in the local network 10.1.1.1
I'm trying to create a DNS entry inside of my network so that clients performing a lookup on foo.com that are using the local DNS server will resolve to 10.1.1.1 instead of the public address (because I can't go "out and back" through the NAT device).
I have created a new zone in the DNS management snapin called "foo.com" and added a host entry for "www" with the correct IP address (10.1.1.1). This seems to work correctly. However, when I try to add an entry for "" (no name) everything seems to work in the configuration UI and I get an entry with the name displayed as "(same as parent folder)" but the clients don't resolve this name.
Is there a way to accomplish what I'm trying to do?