title: How to resolve hostname with ipv6 address?
body: <p>It is easy to resolve hostname with ipv4 address, but I am not able to  resolve hostname with ipv6 address even using Inet6Address class.</p>
  
  <pre><code>InetAddress addr = InetAddress.getByName("192.168.190.62");
  String host = addr.getHostName();
  System.out.println(host);
  </code></pre>
  
  <p>Above code works for IPv4, but for IPv6 even with Inet6Address it is not working.</p>
  
  <p>Please help, how is it possible ?</p>