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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*

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