Monday, June 27, 2016

windows server 2000 - Configure DNS Zone to Forward for any non-existant hosts



Not sure if this is possible, but in my head, it sounds reasonable to be able to do. I'm just not sure how...




We have our company domain on our internal DNS servers (company.com), but the domain is hosted externally as well. We have the zone setup on a Win2k Server, and it is AD integrated.



What I want to be able to do, is for any hosts which do NOT exist on our internal DNS (queried by internal machines with that DNS server set manually), to then look at public DNS for the domain.



So:
On our internal DNS we have the company.com zone setup.
On public DNS we have the company.com zone setup, and add an A record for host name 'www'.
External machines lookup www.company.com, and resolve as normal, using public DNS.
Internal machines lookup www.company.com, cannot find it on internal DNS, forwards resolution to public DNS and finds the record.



Is this too much to ask? Or am I just going about it the wrong way?




Thanks.


Answer



No, Windows DNS Server doesn't work that way. You have to add an A record with the IP of your website.



You can achieve something like this for subdomains of your primary, but it's a ugly trick and will not work in your situation.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...