title: IPv6 address by hostname
body: <p>Is there any command in Linux to get the IPv6 address of a hostname?</p>
  
  <p>I tried <code>NSLookup</code>, but it doesn't seem to have an option to get the IPv6 address for the specified hostname or perhaps I missed it.</p>
  
  <p>I have a C program that deals with IPv6 and I want to check if I am getting correct results by using a different method to obtain the IPv6 address of a host.</p>