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

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -