Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

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

Reply
 
Old 07-17-2009   #1 (permalink)
Claude Lachapelle


 
 

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
Old 07-21-2009   #2 (permalink)
Claude Lachapelle


 
 

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:
Quote:

> 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
Reply

Thread Tools


Similar Threads
Thread Forum
FTP timestamp and offset Problem Vista General
Difference between Now and the Timestamp on a File VB Script
Timestamp question General Discussion
DNS timestamp conversion VB Script
Prompt with Timestamp? PS 2007-01-01-23:00:01 C:\WINDOWS> PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46