Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Our internal DNS queries go through Active Directory. We are hosting a site that is not in our domain, but internal users need to get the internal IP address for routing.

How do I configure Active Directory to return A records for a few arbitrary domain names, not just those in our own domain?

share|improve this question

2 Answers 2

You can create any zone you want in your AD DNS servers; nothing prevents you from defining a zone with the same name as a real, public Internet DNS zone.

If you do that, any user querying your DNS servers (that's all domain users, usually) will get the answers you defined instead of the real ones.

share|improve this answer
1  
+1, this is called split horizon DNS. Just make sure that you include all the records in the real zone or you'll find your mail bouncing (i.e. if you miss the MX records). –  gravyface May 13 '10 at 21:04
2  
Rather than adding the entire "whateverdomain.com" zone and adding records within it, you may want to just add "host.whateverdomain.com" as a zone and create an "@" record (blank hostname) with the internal address, such that the remainder of the "whateverdomain.com" zone resolves from the Internet DNS. –  Evan Anderson May 13 '10 at 21:10
    
@Evan: it's likely he doesn't have a choice, unless he can just do www.whateverdomain.com with an "@" record and not include the whateverdomain.com zone in AD. –  gravyface May 13 '10 at 21:27
1  
@gravyface: I think we're saying the same thing. I create zones w/ only "@" records in them on Microsoft DNS servers fairly frequently just for this purpose. –  Evan Anderson May 13 '10 at 21:38

Have you tried making separate DNS Zones? Take a look at this

Which version of AD?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.