title: How does one specify a specific DNS server to query using DnsQuery?
body: <p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms682016.aspx" rel="noreferrer">DnsQuery</a> doesn't have a parameter to specify the server one wants to query. On the other hand, I've seen <a href="http://support.microsoft.com/kb/831226" rel="noreferrer">this sample</a>, which seems to have passed an IP in the parameter marked as "reserved and must be 0" in the MSDN documentation.</p>
  
  <p>Is there some way to query a specific server (as nslookup does?) Or am I going to have to write my own DNS client (or find a library of course)?</p>