Solved

Help with Windows DNS basics

Posted on 2007-04-03
5
923 Views
Last Modified: 2008-01-09
After years of working with Windows and its DNS server, I still am confused on some DNS basics.  I realize that DNS basically translates computer names to IP addresses buy I don't understand fully understand how each DNS record is updated, or deleted, or what "zones" are.

My immediate question is, what should I be doing to keep up with the DNS records as far as maintenance goes?  As I look through the DNS records, there are some very old records listed.  I occasionally get problems when I try to VNC a machine I think is still out there, and I end up VNC'ing someone elses machine who has taken over the IP address of the old system.  This is really just poor management on my part, but if I see old DNS records in the list, Should I be manually deleting them?  Is there a way for the server to purge old records automatically?  When computers get re-formated and re-named, or just taken off-line permanently, should I be going to the DNS server and getting rid of these records?

My secondary question would be, does anyone know of a good online tutorial that I could watch/listen too that explains Windows DNS server basics?  Specifically, what a network admin should be doing for regular maintenance and hopefully explanations on what the reverse and forward lookup zones mean?  There are also a bunch of folders under the DNS server that are titled _sites, _tcp, _udp, _msdcs, etc.  I am not sure what those are all about.  There are options for "Scavenge Stale Resource Records" and "Set Aging/Scavenging for All Zones..", so maybe this is where I would tell it to purge old DNS records?

Thanks.
0
Comment
Question by:jbobst
5 Comments
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 75 total points
ID: 18845323
You might want to have a look at my DNS links page - I think it can answer most of your questions.

http://www.lwcomputing.com/tips/static/dns.asp
0
 
LVL 48

Assisted Solution

by:Jay_Jay70
Jay_Jay70 earned 75 total points
ID: 18847685
jbobst,

to answer one, you need to look at enabling scavenging on your zones....

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/cnet/cncf_imp_kckc.mspx?mfr=true

for Q2 and understanding, Lee has a great set of links

Regards,

James
0
 
LVL 4

Accepted Solution

by:
Tomeryos earned 100 total points
ID: 18847687
Hi,

I will try to address some of the questions that you have asked.
To start with, there is no need to manually delete records. In windows dns server you can configure scvaging and ageing (excuse me for i am not able to show you where it is, someplace in the options)
This basically makes sure that stale records don't stay too long in the database.
Forward lookup zone gets names and translates them to ip address and reverse lookup zones do just the opposite, they get ip addresses and return the name associated with that ip.
more information can be found at
http://www.webmonkey.com/webmonkey/03/11/index2a_page2.html?tw=backend
http://www.phptr.com/articles/article.asp?p=21116&seqNum=3&rl=1
0
 
LVL 1

Author Comment

by:jbobst
ID: 18851748
Tomeryos,
Your link to the phptr.com site does a good job trying to explain scavenging.  I have read it a couple time, but I still am a little fuzzy on the explanations.  I turned on my scavenging last night before I left the office, but all the old A records are still listed in dns this morning.  I left all the default settings in place, and I even manually told it to start scavaging, but all the records are still there.  So, either I am missing something, or maybe the records require the 7 days of existence (once scavenging has been enabled) before they will be automatically deleted?  I guess we'll find that out next week.

Microsoft seems to have made this extra complicated.  For example, it would seem to me that once a computer registers itself with DNS and the record is created, there should simply be a time interval that needs to be set for it's lifespan.  If that computer never does a refresh or update (during a new IP address request, or simple daily login process, etc), then the record should be deleted after the expiration of the lifespan time frame.  Instead, Microsoft make these no-refresh and refresh intervals...which have the same 7 day value by default.  I have read the explanations of these settings, but they still aren't clear to me.  Are they basically the same as the lifespan of the dns A records?

As I mentioned before, I have also manually requested the server to scavenge stale records twice now.  After refreshing the server, all the old records are still there.  Some records are at least two years old and that seems pretty stale to me.

Thanks.
0
 
LVL 1

Author Comment

by:jbobst
ID: 18942901
Sorry for the delay in closing this questions, thanks for the help!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem with autodiscover SBS 2011 4 72
Office365 login in Page not accessible. 3 39
Child Domain and dns suffixes 9 41
DNS Scavenging configuration 5 60
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now