dns - How do you convert a textual domain into an IPv6 in Java? -
how can convert textual domain (dns) www.abc.com
equivalent ipv6 address fe80:0000:0000:0000:0202:b3ff:fe1e:8329
?
i tried using inet6address
ended ipv4 address.
example:
inet6address.getbyname("www.abc.com").gethostaddress();
gave me like:
129.42.38.1
so i'm not sure issue in this.
Comments
Post a Comment