title: How to ping a machine by its Full Computer Name in Java
body: <p>I searched a bit here before asking this question.</p>
  
  <pre><code>InetAddress.getByName("SOMECONSTANTCOMPUTERNAME.xxx.CORP.xxx.COM").isReachable(10000)
  </code></pre>
  
  <p>This always returns false or 
      UnknownHostException but by using cmd and writing </p>
  
  <pre><code>ping SOMECONSTANTCOMPUTERNAME.xxx.CORP.xxx.COM
  </code></pre>
  
  <p>I am getting ping status.</p>
  
  <p>Finally apologies if I didn't do proper research.</p>
  
  <p>Regards,
  icr</p>