You can use the nslookup command to display IPv6 name service information.
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.
View information about a particular host by typing the following commands at the angle bracket prompt:
>set q=any >host-name |
Type the following command to view only AAAA records:
>set q=AAAA hostname |
Quit the nslookup command by typing exit.
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 |