How to get IPV6 address from hostname
<p>Can anyone please suggest me how to get IPV6 address fro hostname which contains both IPV4 and IPV6 addresses.</p>

<p>I tried to get it using <code>java.net.InetAddress.getHostAddress</code>, but it is only giving me the  ipv4.</p>
