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.

I have a Windows Server 2008 R2 machine which is a domain controller under Active Directory: Domain Services and I want to also run quite a few things from this one machine. Mostly I'm learning how to hook everything up and don't really care too much about enterprise redundancy stuff.

Anyway, the issues I'm coming across now are that the AD: DS needs a DNS. We're hosting the DNS on this machine as well, on a different IP address. We have 8 addresses facing an internal network in the data center and then 8 addresses facing the Internet.

This is how I'd like to see things set up for each address. Every bullet is a separate address and use for it.

  • Authoritative DNS for websites and internal machines and forwarding service for everything else. OCSP address for the certification authority.
  • IIS for websites
  • VPN

Now, the problem that comes with this is managing all of the addresses things need to manage or listen on or ignore. It seems that the Windows DNS likes to just associate addresses automatically and give them the same domain name as whatever the DNS is running on, because it makes sense in large systems with a dedicated DNS. However, I want this machine to have different domains for almost every IP address and I really don't want the Windows DNS overwriting or remaking deleted A and AAAA records. It even adds the private IP addresses to the DNS, which really don't need to be there.

How can I better manage the different addresses and services? The DNS problem is my top priority right now and then after that, I'm not sure how to resolve the issue of managing multiple domains and the VPN from one machine on different addresses. It seems like since everything wasn't built to be run on one machine, it's going to be difficult. But I'm learning, so it's all interesting.

Any input here would be much appreciated.

share|improve this question
3  
Note that multi-homed domain controllers are not recommended. See for example social.technet.microsoft.com/Forums/en-US/winserverDS/thread/… or social.technet.microsoft.com/Search/… –  Harry Johnston Jul 15 '12 at 0:08

1 Answer 1

up vote 4 down vote accepted

For DNS, uncheck "Register this connection's addresses in DNS" - that will stop the automatic registration of the IPs in DNS, and you can define the records manually without interference from automatic updating.

dns register

The DNS service also registers IPs into DNS that it's bound to, since it automatically populates NS records and associated A records; configure the DNS service to only bind to the specific IP that it's used on (server properties -> interface).

As far as getting the IP bindings for the services under control, changing the address that's bound to is different for every application. For instance, for IIS, see this question.


Having all these unrelated applications running within the same OS is probably not ideal; an issue with one application, maintenance needs, or a security breach all have the potential to disrupt every service on the server, and you may have problems with information exposure running all of the public and private services on the same device (for instance, running internal DNS on a publicly accessible authoritative DNS server).

Splitting your servers up based on their functional role minimizes your exposure to service disruptions and security issues. Virtualize!

share|improve this answer
    
Note that turning off "register this connection's addresses in DNS" on a domain controller used to break AD. I don't know whether or not this has been fixed. –  Harry Johnston Jul 15 '12 at 0:10
    
@HarryJohnston You are quite right that it doesn't like it when I do that. But doing it for the private interface alone seems to work fine. We'll see in a few hours, which is usually the delay we're notice the update at. –  Michael J. Gray Jul 15 '12 at 0:28
    
Looks like it worked after a disable/enable of the interface after changing the setting! Thanks again. –  Michael J. Gray Jul 15 '12 at 3:48

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.