Andrej,

On 05/ 7/10 02:31 PM, Andrej Podzimek wrote:
Hello,

I need a piece of advice on DNS settings. Most programs on my
OpenSolaris system do not resolve host names to IPv6 addresses. A simple
description of the problem:

and...@octopus:~$ ping www.cesnet.cz
www.cesnet.cz is alive

and...@octopus:~$ ping -A inet6 www.cesnet.cz
ping: unknown host www.cesnet.cz

and...@octopus:~$ ping -A inet6 2001:718:1:101::4
2001:718:1:101::4 is alive

It is obvious that IPv6 routing works and so does DNS, but host names
are not resolved to IPv6 addresses. Surprisingly, dig works as expected:

and...@octopus:~$ dig www.cesnet.cz AAAA
[...]
;; ANSWER SECTION:
www.cesnet.cz. 85738 IN AAAA 2001:718:1:101::4
[...]
;; SERVER: 2002:****:****:1::1#53(2002:****:****:1::1)
[...]

This is frustrating. I don't know what could be wrong. Firefox says
ipv6.google.com is an unknown host. However, dig can easily retrieve the
AAAA records and all the IPv6 addresses of Google can be ping'ed. Any
suggestions?

Andrej



P. S. Detailed information about my network configuration follows (with
a bit of **** censorship).

This is my /etc/resolv.conf

nameserver 2002:****:****:1::1

What about /etc/nsswitch.conf? Do your hosts and ipnodes lines match and include "dns"?

...

This is /etc/gai.conf ("do not prefer direct transport"):

What is /etc/gai.conf? It looks like address selection configuration for some other OS. See ipaddrsel(1M) for how to customize IPv6 default address selection on Solaris (but I don't think that's at all related to your problem).

-Seb


label ::1/128 0
label ::/0 1
#label 2002::/16 2
label ::/96 3
label ::ffff:0:0/96 4
label fec0::/10 5
label fc00::/7 6

precedence ::1/128 50
precedence ::/0 40
precedence 2002::/16 30
precedence ::/96 20
precedence ::ffff:0:0/96 10



_______________________________________________
networking-discuss mailing list
[email protected]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to