Bulk Switch DNS timestamps to static
Hello.
Some servers inside my domain are experiencing DNS failures due to expiration in DNS records.
It would demand a huge downtime to check and update them to static on more than 8000 records among computers and printers as well.
Is there a way to bulk switch all of them to static? Or at least deselect the option "Delete this record when it becomes stale" option?
I have bred a PowerShell line that lists the registers:
Get-DnsRecord -Filter "TimeStamp<>0" -RecordType A > dnsWithTimeStamp.csv
but nothing to change them so far.
Thanks in advance.
- David
June 14th, 2012 12:12pm
Hi,
It is impossible. I'd like to suggest to export the records as a .txt file, delete the dynamic records in the mmc console, and then, modify them via the script such as: Add-DnsServerResourceRecordA -ZoneName msftncsi.com -Name www -IPv4Address 131.107.0.1.
If there is anything unclearly, please visit the network forum to get a better resolution:
Network Infrastructure Servers
http://social.technet.microsoft.com/Forums/en-US/winserverNIS/threads
Hope this helps!
Best Regards
Elytis Cheng Elytis Cheng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2012 4:12am
Hi,
It is impossible. I'd like to suggest to export the records as a .txt file, delete the dynamic records in the mmc console, and then, modify them via the script such as: Add-DnsServerResourceRecordA -ZoneName msftncsi.com -Name www -IPv4Address 131.107.0.1.
If there is anything unclearly, please visit the network forum to get a better resolution:
Network Infrastructure Servers
http://social.technet.microsoft.com/Forums/en-US/winserverNIS/threads
Hope this helps!
Best Regards
Elytis Cheng Elytis Cheng
TechNet Community Support
June 15th, 2012 4:20am