HP-UX IPv6 Transport Administrator's Guide for TOUR 1.0
IPv6 Software and Interface Technology
Name and Address Lookup for IPv6
Chapter 7 67
Thus, if DNS has not been set up as the definitive source, and files
(/etc/hosts) may need to be used for address and host name resolution,
HP recommends adding the following entry to /etc/nsswitch.conf:
ipnodes: dns [NOTFOUND=continue] files
Or if /etc/hosts is to be the primary Name Service
ipnodes: files [NOTFOUND=continue] dns
IMPORTANT If you have an /etc/nsswitch.conf file, and if you have set a hosts
entry in that file, then you must set a similar ipnodes entry. You must do
this even if you do not use IPv6 addresses. Also, be aware that you
cannot use NIS or NIS+ on the ipnodes entry.
Migrating Name and IPv6 Address Lookup
Most sites test IPv6 on a development subnetwork before deploying it on
a larger scale. These sites typically add IPv6 address and host names to
the /etc/hosts files on IPv6 hosts, then change their hosts lookuppolicy
to search files.
HP recommends that you maintain at least a minimal /etc/hosts file
that includes important addresses like gateways, root servers, and your
host’s own IP address. HP also recommends that you include the word
files in the hosts and ipnodes lines of /etc/nsswitch.conf to help
ensure a successful system boot using the /etc/hosts file when DNS is
not available.