title: Programatically clear a single DNS cache entry in Windows and Linux in C++
body: <p>I am wondering if there is a way to programmatically clear a single DNS cache entry in both Windows and Linux. Or if there is some other way to force a gethostbyname call to not use the local cache.</p>
  
  <p>Clearing the entire cache would not be ideal.</p>
  
  <p>Thanks.</p>