System Administration Guide: IP Services

Displaying IPv6 Name Service Information

This section provides procedures to display IPv6 name service information.

Displaying IPv6 Name Service Information Task Map

Table 15–3 Displaying IPv6 Name Service Information Task Map

Task 

Description 

For Instructions, Go to ... 

Display name service information for IPv6  

Displays name service information for IPv6 by using the nslookup command.

How to Display IPv6 Name Service Information

Verify that DNS IPv6 PTR records are updated correctly 

Displays the PTR records for DNS IPv6 PTR records by using the nslookup command. Also uses the set q=PTR parameter.

How to Verify That DNS IPv6 PTR Records Are Updated Correctly

Display IPv6 information through NIS 

Displays the IPv6 information through NIS by using the ypmatch command.

How to Display IPv6 Information Through NIS

Display IPv6 information through NIS 

Displays the IPv6 information through NIS+ by using the nismatch command.

How to Display IPv6 Information Through NIS+

Display IPv6 information independent of name service 

Displays the IPv6 information by using the getent command.

How to Display IPv6 Information Independent of Name Service

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

How to Verify That DNS IPv6 PTR Records Are Updated Correctly

In this procedure, you use the nslookup command to display PTR records for DNS IPv6.

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


    % /usr/sbin/nslookup
    

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

  2. To see the PTR records, type the following command at the angle bracket prompt:


    >set q=PTR
    
  3. Quit the command by typing exit.

Example—Using nslook to Display PTR Records


%  /usr/sbin/nslookup
Default Server:  space1999.Eng.apex.COM
Address:  120.46.168.78
> set q=PTR
> 8.2.5.0.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.2.0.0.0.ip6.int

8.2.5.0.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.2.0.0.0.ip6.int name = 
vallejo.ipv6.Eng.apex.COM
ip6.int nameserver = space1999.Eng.apex.COM
> exit

How to Display IPv6 Information Through NIS

In this procedure, you use the ypmatch command to display IPv6 information through NIS.

    On the command line, type the following command:


    % ypmatch host-name ipnodes.byname
    

    The information about host-name displays.


Example 15–1 Example—Using ypmatch to Display IPv6 Information Through NIS


% ypmatch vallejo ipnodes.byname
fec0::9256:a00:20ff:fe12:528    vallejo
2::9256:a00:20ff:fe12:528       vallejo

How to Display IPv6 Information Through NIS+

In this procedure, you use the nismatch command to display IPv6 information through NIS.

    On the command line, type the following command:


    % nismatch host-name ipnodes.org-dir
    

    The information about host-name displays.


Example 15–2 Example—Using nismatch to Display IPv6 Information Through NIS+


% nismatch vallejo ipnodes.org_dir
vallejo vallejo fec0::9256:a00:20ff:fe12:528 
vallejo vallejo 2::9256:a00:20ff:fe12:528  

How to Display IPv6 Information Independent of Name Service

    On the command line, type the following command:


    % getent ipnodes host-name
    

    The information about host-name displays.


Example 15–3 Example—Using getent to Display IPv6 Information Independent of Name Service


% getent ipnodes vallejo
2::56:a00:fe87:9aba        vallejo vallejo
fec0::56:a00:fe87:9aba     vallejo vallejo