title: How to find IP address from netbios host name?
body: <p>What network tool can I use under DOS/windows to find the ip address of a netbios host as easily as is done in Linux?</p>
  
  <p>For example under Linux (ubuntu) I can find the ip address like so:</p>
  
  <pre><code># nmblookup imac
  querying imac on 192.168.1.255
  192.168.1.75 imac&lt;00&gt;
  </code></pre>
  
  <p>Now, this is the IP of the macbook when connected wirelessly</p>
  
  <p>But under windows I can't ping it:</p>
  
  <pre><code>C:\&gt;ping imac
  
  Pinging imac.gateway.2wire.net [192.168.1.68] with 32 bytes of data:
  Request timed out.
  </code></pre>
  
  <p>And the closest tool I could find returns TWO IPs 
  (it returns the hardwired IP even though it got a different IP by connecting wirelessly</p>
  
  <pre><code>C:\&gt;nslookup imac
  Address:  192.168.1.254
  Name:    imac.gateway.2wire.net
  Addresses:  192.168.1.68, 192.168.1.75
  </code></pre>
  
  <p>Isnt there a windows command to return only the active IP address for the host?</p>