title: Cannot find IP from Hostname
body: <p>I have a wifi sensor module (SN8200 EVK) running a webserver.
  The board is configured to work as a STA and automatically join a WiFi router.
  The sensor board uses the Hostname: "sensor" and a DHCP interface to get its IP address.</p>
  
  <p>I am developing a visual studio C# application to connect to this webserver.
  The application runs on a laptop which is connected to the same WiFi router.</p>
  
  <p>Sensor Board &lt;-----> WiFi Router &lt;-----> Laptop</p>
  
  <p>The application can connect to the sensor board if I use the board IP address.
  As the IP address is not static, I would like to use the Hostname to retrieve the IP.</p>
  
  <p>I tried to use GetHostEntry but got an unknown host result.</p>
  
  <pre><code>IPHostEntry host;
  host = Dns.GetHostEntry("sensor");
  </code></pre>
  
  <p>Something strange is that if I use GetHostEntry with the IP address it cannot resolved the hostname neither.</p>
  
  <p>The GetHostEntry works fine if I try with the laptop hostname or IP.
  It looks like GetHostEntry cannot resolve the hostname behind the router.</p>
  
  <p>Any help is welcome,
  Thanks.</p>