Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 25, 2008

Reader Feedback on "Split-Brain DNS"

Michael Dragone and a reader chat about a DNS question
RSS
Subscribe to Windows IT Pro | See More Domain Name System (DNS) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Split-Brain DNS

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



Reader Comments
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: )


Murat & anthonycasillas - What happens when you try to resolve internal names through the proxy server?
Wouldn't the proxy solution require listing all your internal servers in the external DNS zone?

Or more precisely, how do you configure it to resolve internal names using internal DNS servers but a single mydomain.com record using an external DNS server?

pdiamond December 01, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Networking Whitepapers Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Continuous Data Protection and Recovery for Microsoft Exchange

KVM Over IP For the Distributed IT Environment

Related Events Implementing VoIP for Your Enterprise

Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Networking eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

SQL Server Administration for Oracle DBAs

Related Networking Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing