Results 1 to 2 of 2

Thread: Delete this record when it becomes stale

  1. #1
    Magnus Kirkerud Guest

    Delete this record when it becomes stale

    Is there tool or script that can be used to list all host records in a DNS
    zone where the "Delete this record when it becomes stale" setting is not set?

    Regards

  2. #2
    Herb Martin Guest

    Re: Delete this record when it becomes stale


    "Magnus Kirkerud" <MagnusKirkerud@discussions.microsoft.com> wrote in
    message news:548330FC-8042-42BF-91AA-11861259A20F@microsoft.com...
    > Is there tool or script that can be used to list all host records in a DNS
    > zone where the "Delete this record when it becomes stale" setting is not
    > set?
    >
    > Regards


    When you list a zone with DNSCmd.exe, I BELIEVE that all records which
    can be aged will have [Aging:????] (where ????? represents the number of
    seconds before the record becomes stale) -- check this.

    If so, then the following (built-in*) commands will get you close:

    dnscmd Your.DNS.Server /zoneprint yourzone.com. | findstr /v "[Aging" |
    findstr /r /v "^;"

    You can do better with add-on commands (Perl, grep etc) or if you know
    all the details of FindStr which I almost never use except when offering
    commands to those who may be dependent on the default tools.


    --
    Herb Martin, MCSE, MVP
    http://www.LearnQuick.Com
    (phone on web site)



Similar Threads

  1. Petville is getting Stale
    By Aganju in forum Video Games
    Replies: 6
    Last Post: 27-02-2011, 10:19 PM
  2. Delete record from a java interface
    By Gunner 1 in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 10:56 AM
  3. Unable to delete record from gridview in C#
    By MAGALY in forum Software Development
    Replies: 4
    Last Post: 18-01-2010, 10:56 PM
  4. Access: delete a record and insert it in another tab
    By Wguy2008 in forum Software Development
    Replies: 5
    Last Post: 02-04-2009, 11:24 PM
  5. Delete Stale DNS Records
    By Eric Guzman in forum Windows Server Help
    Replies: 2
    Last Post: 07-10-2008, 01:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,860,049.17927 seconds with 17 queries