IPv6 name resolution on Solaris?

Roy Smith <[email protected]> Fri, 27 Jan 2006 13:14:45 -0500
Newsgroups gmane.network.ipv6.general
Message-ID <[email protected]>
I'm on a Solaris-9 box.  If I use nslookup or dig, I can resolve IPv6 
hostnames:

--------------------------------------------------------
fusion:clsapi$ nslookup -type=aaaa 6bone.net.
Server:  zeus.smarts.com
Address:  10.1.0.220

Non-authoritative answer:
Name:    6bone.net
Address:  2001:5c0:0:2::24
--------------------------------------------------------

but ping won't resolve the same name:

--------------------------------------------------------
fusion:clsapi$ ping -A inet6 6bone.net.
ping: unknown IPv6 host 6bone.net.
--------------------------------------------------------

Likewise, I wrote a little C program which uses  getipnodebyname(), and 
it, too, reports HOST_NOT_FOUND when I try to resolve 6bone.net.

My guess is that nslookup and dig get directly at the DNS layer, while 
getipnodebyname() (and the command-line ping) are working at Sun's NSL 
layer, which is probably mis-configured for IPv6.  Unfortunately, I 
don't know enough about NSL to 1) be sure my guess is correct or 2), 
know how to fix the problem.  Can anybody help with either or both of 
those?

---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [email protected]