I'm not experienced in windows server environments however we've got a Windows Small Business Server 2011 that uses Microsofts DNS Server.
It manages our internal dns and email servers.
We've got a small requirement that we'd like to meet, that we cant figure out on windows. We've successfully done it on Ubuntu now.
Basically we on linux we had.
DNS Server Host file Client.
The client is setup their DNS to "192.168.1.200" So when they make a request it goes via that server. and with Linux the DNS server responds with entries within /var/hosts
So inside /var/hosts we could have
192.168.1.12 dev.mywebsite.com
when someone attempts to visit dev.mywebsite.com from within our network, it goes via the DNS server, checks the host file and then delivers the site correctly.
However MS DNS Server doesnt listen to the c:\windows\system32\drivers\etc\hosts
Is there a way without using the zone manager to influence the results from the dns server? e.g get it to use the host file.
OR
setup another dns server so:
request google.com dns-server-1 lookups google.com finds entry in hosts go go to 127.0.0.1 done.
but if they request a non matching domain, it will go to the 2nd dns server
request bing.com dns-server-1 looksup bing.com no matches found -> go to next dns server dns-server-2 lookup bing.com entry found -> loads website.
can anybody explain how this would be possible?
Many thanks!