System Administration Guide, Volume 3

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 17-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