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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -