Link to home
Start Free TrialLog in
Avatar of jbobst
jbobst

asked on

Help with Windows DNS basics

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.
SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jbobst
jbobst

ASKER

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.
Avatar of jbobst

ASKER

Sorry for the delay in closing this questions, thanks for the help!