title: How to perform "nslookup host server"
body: <p>My <code>C#</code> service needs to periodically poll <code>nslookup host server</code>. Currently it spawns a <code>Process</code> that executes batch script. Due to performance reason I'm considering to do this check using some <code>API</code>. But the problem is, that using, for example, <code>System.Net.Dns.GetHostAddresses</code> I can only emulate <code>nslookup host</code> check, but not <code>nslookup host server</code> (without seconds param).</p>
  
  <p>I've looked at bunch of similar SO questions, but none of them seem to solve my issue.</p>
  
  <p>Are there any way to perform <code>nslookup host server</code> in <code>C#</code> without using some heavy third-patry library?</p>