System Administration Guide, Volume 3
[ Previous ][ Fast Back ]Chapter 2. Managing IPv6 Tasks  

Displaying IPv6 Name Service Information

This section provides procedures to display IPv6 Name Service information.

Displaying IPv6 Name Service Information Task Map

Table 2-3. Displaying IPv6 Name Service Information Task Map

Task

Description

For Instructions, Go to

1. Display IPv6 name service information

Displays IPv6 Name Service Information using the nslookup command.

How to Display IPv6 Name Service Information

2. Verify that DNS IPv6 PTR records were updated correctly

Displays the DNS IPv6 PTR records using the nslookup command and the set q=PTR parameter to display.

How to Verify That DNS IPv6 PTR Records Were Updated Correctly

3. Display IPv6 information through NIS

Displays the IPv6 information through NIS using the ypmatch command.

How to Display IPv6 Information Through NIS

4. Display IPv6 information through NIS

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

How to Display IPv6 Information Through NIS+

5. Display IPv6 information independent of name service

Displays the IPv6 information using the getent command.

How to Display IPv6 Information Independent of Name Service

Procedure 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.
    % nslookup

    The default server name and address display, 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

Example--Using nslookup to Display IPv6 Information

%  nslookup
Default Server:  space1999.Eng.Sun.COM
Address:  129.146.168.78
> set q=any
> vallejo
Server:  space1999.Eng.Sun.COM
Address:  129.146.168.78

vallejo.ipv6.eng.sun.com        IPv6 address = fec0::9256:a00:20ff:fe12:528
vallejo.ipv6.eng.sun.com        IPv6 address = 2::9256:a00:20ff:fe12:528

Procedure How to Verify That DNS IPv6 PTR Records Were Updated Correctly

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

  1. On the command line, type the following command.
    % 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

Example--Using nslook to Display PTR Records

%  nslookup
Default Server:  space1999.Eng.Sun.COM
Address:  129.146.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.Sun.COM
ip6.int nameserver = space1999.Eng.Sun.COM

Procedure How to Display IPv6 Information Through NIS

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

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

Procedure How to Display IPv6 Information Through NIS+

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

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  

Procedure How to Display IPv6 Information Independent of Name Service

Example--Using getent To Display IPv6 Information Independent of Name Service

% getent ipnodes strat
2::56:a00:20ff:fe87:9aba        strat strat
fec0::56:a00:20ff:fe87:9aba     strat strat

[ Previous ][ Home ] 
Configuring IPv6 Over IPv4 Tunnels[ Up ]