[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • Last Modified:

DNS/DHCP

Alright, I've been given the task at work to clean up our DNS/DHCP as we are about to migrate to another domain.  Hoping to get some advice from all you experts.  We've got scavenging enabled and set for every seven days on our dns server.  Now that should pretty much keep our dynamic dns records healthy and up to date.  But what about any DNS records that arent dynamic?  Those wont be deleted and will just stay in there.  Is there a tool that I can run that will tell me which records are static so I can check to see if they are still needed?  Thanks.
0
rich872
Asked:
rich872
  • 2
1 Solution
 
giltjrCommented:
dump the DNS zone and ping each host in the zone by name.

If you get a response that entry is still a valid entry.  However that does not mean that it is still needed.
0
 
rich872Author Commented:
Dump the zone?  what would be the effects on the end user if I did this?
0
 
giltjrCommented:
I don't mean delete it.  I mean list all of the entries in a text file.

You can use nslookup and do the following from a command prompt:

     nslookup
     list -d your.domainname > your.domain.txt

This does assume that what ever box you issue this command from has the authority to do a zone transfer.  You can do this from the DNS severs itself.

The file your.domain.txt will have a list of all of the hosts in your domain.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now