[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DNS server to answer queries from the hosts file.

Posted on 2006-04-26
3
Medium Priority
?
235 Views
Last Modified: 2010-04-18
Hello
I have a DNS sever.
I have some internally used URLs that look like part of a public name space but in fact are not.

i.e. eggster.microsoft.com should resolve to 192.168.1.1 and so on.

if I put this info on a hosts file like:

192.168.1.1 eggster.microsoft.com

on a pc and ping eggster.microsoft.com , it pings 192.168.1.1

however, how can I get the DNS server to answer queries with this information? i.e. when somebody asks the DNS server the address for eggster.microsoft.com , it should first check the hosts file before checking its own database and answer the query with this local ip.
is this at all possible within windows 2000 or 2003?
0
Comment
Question by:eggster34
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 1500 total points
ID: 16549237
You would have to create a zone "microsoft.com" and put the host record in for "eggster".

The problem with this is that you will no longer be able to go to the real Microsoft site.

0
 

Author Comment

by:eggster34
ID: 16549570
yes. that's the obvious solution which I'm not too inclined to do.
alternatively, is there a way to do this with stub zones etc. ? or to say "for any unresolved name for microsoft.com, do a recursive query"?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 16549606
No.  If any zone gets added to your DNS it'll either be authoritative or forward to the real domain - you can't get selective.

0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question