In this procedure, you use the ypmatch command to display IPv6 information through NIS:
Under your user account, type the following to display IPv6 addresses in NIS:
% ypmatch hostname hosts ipnodes.byname
The information about the specified hostname is displayed.
Oracle Solaris releases after Solaris 10 11/06 no longer include the ipnodes maps. The IPv6 functionality of ipnodes is now maintained in the hosts maps.
For Solaris 10 11/06 and earlier releases, the following sample shows the results of a ypmatch operation on the ipnodes.byname database.
% ypmatch farhost hosts ipnodes.byname 2001:0db8:3c4d:15:a00:20ff:fe12:5286 farhost