Bize Ulaşın / Contact Us

DNS Sunucusu Cache ini temizleme

01 / 07 / 2010 by DNS, Server Yorum yok / No Comments

DNS sunucunuzun cachelenmis kayitlarini temizlemek icin asagidaki scripti kullanabilir, bu islemi periyodik olarak uygulamak istiyorsaniz Scheduled Tasks yardimi yapabilirsiniz.

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & _

Set colItems = objWMIService.ExecQuery(“Select * From MicrosoftDNS_Cache”)

For Each objItem in colItems

Leave a Reply

Your email address will not be published. Required fields are marked *

Kontrol / Control * Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.