System Administration Guide, Volume 3

How to Display IPv6 Name Service Information

In this procedure, you use the nslookup command to display IPv6 name service information.

  1. On the command line, type the following command:


    % /usr/sbin/nslookup
    

    The default server name and address appear, followed by the nslookup command angle bracket prompt.

  2. To see information about a particular host, type the following commands at the angle bracket prompt:


    >set q=any
    >host-name
    
  3. To see only AAAA records, type the following command at the angle bracket prompt:


    >set q=AAAA
    
  4. Quit the command by typing exit.

Example--Using nslookup to Display IPv6 Information


%  /usr/sbin/nslookup
Default Server:  space1999.Eng.apex.COM
Address:  120.46.168.78
> set q=any
> vallejo
Server:  space1999.Eng.apex.COM
Address:  120.46.168.78

vallejo.ipv6.eng.apex.com      IPv6 address = fec0::9256:a00:fe12:528
vallejo.ipv6.eng.apex.com      IPv6 address = 2::9256:a00:fe12:528
> exit