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 & _
“\root\MicrosoftDNS”)

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

For Each objItem in colItems
objItem.ClearCache()
Next

Leave a Reply

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

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