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 2004

My Horror-to-Glory DNS Tale

A little detective work saves a client a wad of dough
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    DNS Configuration Errors Breed AD Horror

I have a technology consulting business in the San Francisco Bay area. One foggy afternoon, I received a call from a client who was desperate for help. He was having occasional problems locating local resources. He thought it was a network problem, but he couldn't be sure, and he was panicky: At the law firm where he worked, things typically got ugly when attorneys found themselves unable to print their documents. This wasn't an ordinary law firm either—it was a high-tech firm boasting more attorneys than many companies have employees. I agreed to assist at my standard double rate for attorneys.

Setting the Scene

The company was using BIND 9.2.3 on Linux as its primary DNS server. The firm had recently deployed Active Directory (AD) on Windows Server 2003 and was slowly adding users and printers. I was told that some users suddenly couldn't print. Other users simply complained that the network was slow.

When I arrived on site, the IT staff greeted me at the door and ushered me quickly into a conference room, where my interrogation of the IT staff began.

"Has anything changed?" I asked.

"No."

"No settings have changed?"

"No."

"Any new hardware added to the network?"

"No."

"Software?"

"No."

The only nugget of information I could coax from the IT staff was that in the process of migrating users and printers to AD, they had added some security. They assured me, of course, that this addition should have no effect on users' ability to print.

Diagnosing the Problem
I began by pinging some of the printers in question by IP address. I detected no problems. Next, using Fully Qualified Domain Names (FQDNs), I tried pinging the printers through Linux DNS, then through DNS/AD on Windows 2003. The results were quite interesting. Depending on which DNS server was specified, some printers' IP addresses couldn't be resolved. A quick check of the Linux machines' DNS log files revealed hundreds of daily errors, which dropped off on weekends. Aha! A clue!

I could have used other software utilities to perform several other tests, but what I really needed was a tool that would let me get down to a deeper layer and peer inside the packets themselves. Most diagnostic programs wouldn't have provided sufficiently detailed information for my task and might have led me down a dead-end path. If I wanted to crack this case quickly, I would need a network protocol analyzer, which would let me linguistically analyze the contents of packets going across the wire and get to the root of the problem.

Investigating the Network
I considered using Microsoft's Netmon for my task, but the version included with Windows 2003 captures only packets to and from the server. Instead, I decided to use a commercial analyzer that would capture all traffic. (Free network protocol analyzers are available on the Web. Check out Ethereal at http://www.ethereal.com.) If I had Microsoft Systems Management Server (SMS), I could have used its version of Netmon, which captures all traffic.

I set up the analyzer to capture packets between the Linux DNS server designated with the Start of Authority (SOA) and the Windows 2003 DNS designated with the SOA. I wanted to see the results of two tests: a zone transfer from the Linux box to the Windows system, and a zone transfer from the Windows system to the Linux host. I performed the cross-examination by initiating a zone transfer on the Linux box, pausing, then initiating a zone transfer on the Windows system. Then, I analyzed the results.

On close examination of the trace file, I saw that the Linux host successfully established a connection with the Windows system, failed to perform the zone transfer, then gracefully severed the connection. Looking at the packets from the zone transfer from the Windows system to the Linux host, I saw the same result.

The servers were able to successfully establish a TCP port 53 zone-transfer TCP/IP connection, but they didn't transfer DNS information and finally disconnected. Upon inspection of the packet payload, I discovered an authentication problem: Something was amiss in the packet response. But DNS transfers don't require authentication, right?

As I mentioned previously, the IT staff had changed some security settings. Eventually, I received more thorough information: To prevent a forged zone transfer, the Linux administrator had enabled the DNS Security extensions protocol (DNSSEC) on the Linux DNS servers. DNSSEC, defined in Internet Engineering Task Force (IETF) Request for Comments (RFC) 2535, uses public and private keys. Windows 2003's DNS doesn't fully support DNSSEC, so we removed the security changes and tried again. The problem was solved. The company was in the process of migrating to Windows 2003 and AD, so we decided to reverse the platforms and make the Windows 2003 server the primary DNS server.

Laying Out the Solution
By default, Windows workstations are set to register their address in DNS. (This check box is located on the DNS tab, which you access through TCP/IP Properties, Advanced TCP/IP Settings.) Those hundreds of errors in the Linux machine's DNS log file occurred because the workstations were trying to register with DNS as a dynamic DNS (DDNS) entry. Because the Linux box was set to use DNSSEC, the workstations' requests were blocked, thus polluting the log file and generating unnecessary network traffic.

Success!
My client was pleased that I was able to solve his problem in half a day. At this high-profile law firm, after all, time is money: The firm bills approximately $25,000 per hour, and the product it produces is words on paper. I might have saved the client upwards of $100,000 with my solution. And you can bet the firm's IT staff has gained a deeper understanding of Windows DNS security intricacies—particularly how DNSSEC works.

End of Article



Reader Comments
Interesting. I should have become a lawyer.

ronferri September 10, 2004 (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
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...

WinInfo Short Takes: Week of October 13, 2008

An often irreverent look at some of the week's other news... ...


Security Whitepapers Protecting (You and) Your Data with Exchange Server 2007

Extended Validation SSL Certificates

Unauthorized applications: Taking back control

Related Events Check out our list of Free Email Newsletters!

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

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security 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.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

Latest Advancements in SSL Technology
There are a variety of different kinds of SSL to explore to ensure customer data is kept confidential and secure. In this paper, we will discuss some of these SSL advances to help you decide which would be best for your organization.

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Solving PST Management Problems
In this white paper, read about the top PST issues and how to administer local/network PST Files.

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

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.

Maximize Your SharePoint Investment: Get Your Data Moving
Watch this web seminar now to learn how to maximize your SharePoint investment! Join us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving.
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