Mohacsi Janos writes:
> For Solaris youhave to enable separately the name resolution for IPv6:

> Putting ipv4/ipv6 addresses in
> /etc/inet/ipnodes

> and in /etc/nsswitch.conf Make sure 'ipnodes' line contains 'dns'
> entry so that IPv6 hostname lookup can be performed through DNS in
> case that resolution failed by looking up a local file.

> /etc/nsswitch.conf
> hosts:      files dns
> ipnodes:   files dns

> This is kind of brain damage in Solaris - why they invented ipnodes?

Because they wanted to avoid breaking things that assume the old
format of /etc/hosts? I rather like their approach of introducing a
new configuration file, instead of extending the twenty-year-old
syntax of semantics of the /etc/hosts file.  The "ipnodes" database
nicely parallels getaddrinfo().  (Although we could have just changed
gethostbyname() to return IPv6 addresses as well. :-)

Note that if you completely rely on DNS for name resolution, you don't
even have to put anything into /etc/inet/ipnodes.
-- 
Simon.

---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to