System Administration Guide: IP Services

ProcedureHow to Display IPv6 Name Service Information

You can use the nslookup command to display IPv6 name service information.

  1. Under your user account, run the nslookup command.


    % /usr/sbin/nslookup
    

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

  2. View information about a particular host by typing the following commands at the angle bracket prompt:


    >set q=any
    >host-name
    
  3. Type the following command to view only AAAA records:


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


Example 7–16 Using nslookup to Display IPv6 Information

This example shows the results of nslookup in an IPv6 network environment.


%  /usr/sbin/nslookup
Default Server:  dnsserve.local.com
Address:  10.10.50.85
> set q=AAAA
> host85
Server:  dnsserve.local.com
Address:  10.10.50.85

host85.local.com      IPv6 address = 2::9256:a00:fe12:528
> exit