开发者

Programmatically Refresh DNS resolution (avoid cache)

开发者 https://www.devze.com 2022-12-14 23:07 出处:网络
Is there a way to programmatically remove an address from windows\' dns cache, or to re-resolve it? I\'m using c#, but native code would be just fine (however, playing with the registry would not be).

Is there a way to programmatically remove an address from windows' dns cache, or to re-resolve it? I'm using c#, but native code would be just fine (however, playing with the registry would not be). I'm writing a little application that measures the amount of time it takes to resolve an addre开发者_运维技巧ss and would like to avoid caching issues.

0

精彩评论

暂无评论...
验证码 换一张
取 消