linux - IPv6 address by hostname -
is there command in linux ipv6 address of hostname?
i tried nslookup
, doesn't seem have option ipv6 address specified hostname or perhaps missed it.
i have c program deals ipv6 , want check if getting correct results using different method obtain ipv6 address of host.
with nslookup
, query aaaa
record type used ipv6 addresses:
nslookup -query=aaaa $hostname
Comments
Post a Comment