Programmatically Refresh DNS resolution (avoid cache)
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.
精彩评论