Windows Vista Forums

Using VBScript to apply TimeStamp to DNS A records...
  1. #1


    Claude Lachapelle Guest

    Using VBScript to apply TimeStamp to DNS A records...

    Hi!

    I wrote a few VBScript to report stale and no TimeStamp DNS records reports,
    and now with those reports, I need to update DNS records.

    The problem is: I could not find a way to update using VBScript & WMI the
    dns records TimeStamp... correct me if I'm wrong?

    The .Modify method allow only to update the IP or the TTL attribute, does it
    exist any other method for all the others dns record attributes?

    Thanks.

    Claude Lachapelle
    Systems Administrator, MCSE



      My System SpecsSystem Spec

  2. #2


    Claude Lachapelle Guest

    RE: Using VBScript to apply TimeStamp to DNS A records...

    Finally I used dnscmd to delete/recreate the record with the /AGING switch.

    "Claude Lachapelle" wrote:

    > Hi!
    >
    > I wrote a few VBScript to report stale and no TimeStamp DNS records reports,
    > and now with those reports, I need to update DNS records.
    >
    > The problem is: I could not find a way to update using VBScript & WMI the
    > dns records TimeStamp... correct me if I'm wrong?
    >
    > The .Modify method allow only to update the IP or the TTL attribute, does it
    > exist any other method for all the others dns record attributes?
    >
    > Thanks.
    >
    > Claude Lachapelle
    > Systems Administrator, MCSE

      My System SpecsSystem Spec

Using VBScript to apply TimeStamp to DNS A records... problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP timestamp and offset Problem Jason Vista General 2 28 May 2009
Difference between Now and the Timestamp on a File gimme_this_gimme_that VB Script 2 11 Feb 2009
Timestamp question rx44 General Discussion 0 18 Sep 2008
DNS timestamp conversion TPGBrennan VB Script 1 20 May 2008
Prompt with Timestamp? PS 2007-01-01-23:00:01 C:\WINDOWS> ydroam PowerShell 6 18 Dec 2006