On 01.07.09 10:32, Sebastien Roy wrote:
On Wed, 2009-07-01 at 10:20 -0700, Michael Schuster wrote:
"getent hosts dummy35_5_v6" doesn't print anything and returns 2 ("At least one of the specified entry names was not found in the database.").
...
what else can I do to verify name resolution for IPv6 addresses, short of writing something myself?

Type "getent ipnodes <name>" instead.  This is confusion created by
having two separate nsswitch back-ends, (because of fear that adding
IPv6-support to the "hosts" back-end would cause things to break) but
one FILES database for both "hosts" and "ipnodes" back-ends
(/etc/hosts).

The Sparks and Duckwater projects were going in a direction where this
was going to be simplified and fixed, but I'm not sure what the status
is.

thx. fixing /etc/nsswitch.conf wrt ipnodes now makes getent ipnodes do the right thing.

Michael
--
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to