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
Output from ifconfig -a:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
inet 10.84.54.10 netmask ffffffc0 broadcast 10.84.54.63
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
inet6 ::1/128
e1000g1: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::a00:27ff:fec1:a2ae/10
e1000g1:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 2002:****:****:3::10/64
e1000g1:2: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fecc:dead:beef:3::10/64
Output from netstat -rn:
Routing Table: IPv4
Destination Gateway Flags Ref Use
Interface
-------------------- -------------------- ----- ----- ----------
---------
default 10.84.54.1 UG 3 1543
10.84.54.0 10.84.54.10 U 3 0 e1000g1
127.0.0.1 127.0.0.1 UH 3 212 lo0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use
If
--------------------------- --------------------------- ----- ---
------- -----
::1 ::1 UH 2
8 lo0
2002:****:****:3::/64 2002:****:****:3::10 U 3
21 e1000g1
fecc:dead:beef:3::/64 fecc:dead:beef:3::10 U 2
0 e1000g1
fe80::/10 fe80::a00:27ff:fec1:a2ae U 3
59 e1000g1
default 2002:****:****:3::1 UG 2
199
This is /etc/gai.conf ("do not prefer direct transport"):
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
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ networking-discuss mailing list [email protected]
