Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
15.  Administering IPv6 (Task) Displaying IPv6 Name Service Information How to Verify That DNS IPv6 PTR Records Are Updated Correctly Example--Using nslook to Display PTR Records  Previous   Contents   Next 
   
 

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

 
 
 
  Previous   Contents   Next