title: Why golang Lookup*** function can't provide a server parameter?
body: <p>For <code>nslookup</code> command, it has <code>nslookup somewhere.com some.dns.server</code>. </p>
  
  <p>However, it seems that golang dnsclient only load config from <code>/etc/resolv.conf</code></p>
  
  <p>code here: <a href="https://golang.org/src/net/dnsclient_unix.go#L225" rel="noreferrer">https://golang.org/src/net/dnsclient_unix.go#L225</a></p>
  
  <p>Does the golang  standard  library provide something like 
  <code>func LookupTXT(name string, dnsServer string) (txt []string, err error)</code> ?</p>
  
  <p><code>requirement</code>: 
  1. Don't change the default <code>/etc/resolv.conf</code>.</p>