title: Querying custom DNS Server using C
body: <p>I want to make a DNS query to my own DNS server instead the default one.</p>
  
  <p>Which api can I use to do that ?</p>
  
  <p>I know getaddrinfo (which ping.exe using), but how can i make this function query my dns server, instead the default one ?</p>
  
  <p>Thanks!</p>