Any DNS experts out there? After reading Michael Dragone’s “Split-Brain DNS” (InstantDoc ID 99772), reader Jeff Krull shared a split-brain DNS configuration
problem with us. We've printed the problem here, as well as Michael's initial response. If you think you can further help Jeff, feel free to add your solution here! The first reader to solve Jeff’s problem will receive a Windows IT Pro baseball cap.
From: Jeff Krull
Subject: split brain dns article
Mike, we have a split-brain DNS zone, which is the root of our AD forest. Since it's an AD-integrated zone, when performing an Nslookup on the zone for mycompany.com, DNS returns a list of DNS servers (which are the DCs). That's just great for AD and associated GPO processing, etc. When a user browses the domain internally using a browser, we can't resolve the company's web site (i.e., companyname.com times out) because the DCs don't run IIS to redirect the query, nor do we want our DCs running IIS. Externally, this is not a problem because the DCs aren't listed in the external zone. Any ideas on how to resolve this issue whereby internal users don't have to use www.mycompany.com internally to reach our web site?
From: Michael Dragone
Hi Jeff, thanks for reading my article and writing in. To help answer your question, can you tell me a little more about your AD environment? Do you have one or more AD domains? What's the format of the domain names? Are you using company.local, company.com, or subdomains such as ad.company.com?
From: Jeff Krull
We've got an empty root with three child domains: mydomain.com root, host1.mydomain.com child, host2.mydomain.com child, host3.mydomain.com child. So, the web site in question would be mydomain.com, which we have to address as www.mydomain.com internally and can be accessed using mydomain.com externally. For other DNS domains (e.g., otherdivision.com), this isn't an issue because there aren't DCs for that domain...and we can access the web site internally using http://otherdivision.com rather than www.otherdivision.com.
From: Michael Dragone
Okay, now I understand: www.mydomain.com works both internally and externally, but mydomain.com only works externally. Right? There's no elegant fix that I know of for this issue short of renaming your AD domains. Even if you add a host (A) record for mydomain.com to the mydomain.com zone, DNS will resolve requests for mydomain.com in round-robin fashion. Therefore, some clients will hit the domain controllers while others will make their way to your website. Likewise, you can't remove the existing A records for mydomain.com-- they're required for AD to function correctly, and the DCs would just add them again anyway. You could create an A record or an alias (CNAME) record for a keyword such as "internal," "mydomaincom" (without the period) or "web" in the appropriate zone that resolves to the IP address of the web server hosting mydomain.com (if you use an A record) or www.mydomain.com (if you use a CNAME record). Although that still won't let your users enter mydomain.com from a browser address bar, it would shorten what they have to enter. I would probably use "web" and add an A record in my external DNS for "web" so that internal users can simply type web in their address bar and external users can use either web or www. In any event, it's likely you've already thought of these alternatives. I'm sorry I couldn't be of much help!
So, who can help?
End of Article
The problem can be solved by using a proxy server: 1) Proxy server uses external DNS server, so it resolves the mydomain.com to the actual DNS server, not DCs. 2) The Internet Explorer programs should be configured to use a proxy server, making use of the Group Policies.
After that, when the internal clients type mydomain.com in th address bar, proxy server resolves the name, get the actual address and proxies the request to the actual Web server.
Murat Yildirimoglu
muraty September 26, 2008 (Article Rating: )
I for one would never use the external domain as the root for AD. Rather, I'd create a subdomain ad.mydomain.com for AD. That way I can have my ISP do the external DNS of mydomain.com and my internal domain will be separated from the external zone while maintaining connectivity. If I later added some other subdomain, say corp.mydomain.com, whether it's AD or not, I could add glue records in the mydomain.com domain for both ad.mydomain.com and corp.mydomain.com to ensure that the domains could cross-resolve names.
Using a proxy server isn't a solution IMHO, more like a workaround, posing a whole other administrative challenge. Proxies should (again, IMHO) be transparent to the client computer as well as the user and administrator, ie traffic inspection and web caching on the default gateway.
Snowdon October 18, 2008 (Article Rating: )
I have the same setup and honestly don't think there is a viable solution. Our website is hosted externally so it effectively creates a split-brain DNS. The host handles external DNS and we handle internal DNS in an AD integrated zone. This seems to be one downside to using the same domain name internally and externally. I have set up a CNAME for "www" and that seems to be as good as it can get. The proxy solution does not really work (even with a stub zone) since the DNS lookup is going to hit the internal DNS servers first, realize the domain name should be resolved locally, but be unable to resolve a lookup with no "www". There is no provision in DNS to forward based on the subdomain, only on the second level domain.
pdiamond October 31, 2008 (Article Rating: )
I agree with Murat Yildirimoglu on this one also. I have worked with a govt agency that faced similar problems and they resolved it by utilizing a proxy server to resolve to the external DNS.
anthonycasillas November 14, 2008 (Article Rating: )
Microsoft on Tuesday announced that it would retire its $50-a-year security subscription product, Windows Live OneCare, and replace it with a free solution codenamed "Morro." Unlike OneCare, however, Morro will focus only on core anti-malware features and ...
Order Your SQL Fundamentals CD Today! Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.
You've Deployed SharePoint...Now What? This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions
What Would You Do If You Ran Microsoft? ITTV's 2008 inaugural video contest, "If I Ran Microsoft..." is your chance to tell it like it is. Be goofy or be serious, but don"t miss this chance to have fun, win prizes, and go viral in a major way.
Maximize Your SharePoint Investment This web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content.
1) Proxy server uses external DNS server, so it resolves the mydomain.com to the actual DNS server, not DCs.
2) The Internet Explorer programs should be configured to use a proxy server, making use of the Group Policies.
After that, when the internal clients type mydomain.com in th address bar, proxy server resolves the name, get the actual address and proxies the request to the actual Web server.
Murat Yildirimoglu
muraty September 26, 2008 (Article Rating: