Now Available:

Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Greg.

« Unraveling Windows DNS Resolution - Part 3 of 4 | Main | Vista & Server 2008's Auditing Capabilities More Granular than Being Reported »

Unraveling Windows DNS Resolution - Part 4 of 4

You can see that this process involves a lot of individual steps to go from initial query through to full completion. But you may also be wondering, "If there are so many steps involved with this process, why do my DNS names resolve so quickly?" The strict hierarchy of DNS servers is necessary to support its extensibility, and the communication between the servers in that hierarchy can take some time, especially when there are multiple levels to the query.

DNS's "speed" comes from the second bullet point above - its local cache. Every time a DNS server completes a request, it stores a copy of that record in its local cache for a period of time (12 hours by default in Server 2008). When it receives a query for an address, it first checks that cache. This gives it the ability to respond almost immediately for some already-resolved addresses.

image-01-040408.jpg

A cache also exists on the client as well, with individual records being stored there for one day (86,400 seconds) by default. It is possible to view the local client cache by using the command ipconfig /displaydns. The result looks similar to Figure 2 with each entry showing the record name and time to live in addition to other data.

For such a set-it-and-forget-it service, DNS still involves a lot of moving parts. As you can see here even the simplest processes of DNS resolution involves the interworking of clients with numerous servers all across the Internet.

TrackBack

TrackBack URL for this entry:
http://www.realtime-windowsserver.com/type/mt-tb.cgi/749

Post a comment

(All comments are approved by site leader before appearing here. Thanks for commenting!)

line

Greg Shields' Bio:

Greg Shields, is an independent author, instructor, and IT consultant based in Denver, Colorado, and a co-founder of Concentrated Technology. With nearly 15 years of experience in information technology, Greg has developed extensive experience in systems administration, engineering, and architecture specializing in Microsoft systems management, remote application, and virtualization technologies. Greg is a Contributing Editor for Redmond Magazine, MCPmag.com, and Virtualization Review Magazine and is the author of five books, including Windows Server 2008:  What’s New / What’s Changed. Greg is also a highly sought-after instructor and speaker, speaking regularly at conferences like TechMentor Events, and producing computer-based training curriculum for CBT Nuggets.  Greg is a recipient of Microsoft "Most Valuable Professional" award with a specialization in Windows Terminal Services.