Per Jessen wrote:
Carlos E. R. wrote:
I'm not aware of a method to tell the DNS server not to provide IPv6 answers, which is what would be needed when the ISP does not provide IPv6. No, that is not correct. The DNS server only supplies an IPv6 address when asked (AAAA lookup).
'host' does two lookups, one for A, one for AAAA. Then it is up to the local system to figure out what to do with the answers.
When gai.conf is left as default, IPv6 is preferred over IPv4, with fallback to IPv4. Works fine on every one of my openSUSE boxes.
Björn, on your machine where you have the unwanted IPv6 connection attempts, what does your network look like? Please post output:
ip addr show ip route show ip -6 route show
ping www.heise.de ping6 www.heise.de Ok, this is the output of the commands:
# ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000 link/ether 70:71:bc:79:01:80 brd ff:ff:ff:ff:ff:ff 3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default link/ether 70:71:bc:79:01:80 brd ff:ff:ff:ff:ff:ff inet 192.168.5.2/24 brd 192.168.5.255 scope global br0 valid_lft forever preferred_lft forever inet6 fe80::7271:bcff:fe72:12e8/64 scope link valid_lft forever preferred_lft forever 4: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 52:54:00:0d:23:c3 brd ff:ff:ff:ff:ff:ff inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1 valid_lft forever preferred_lft forever 5: virbr1-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr1 state DOWN group default qlen 500 link/ether 52:54:00:0d:23:c3 brd ff:ff:ff:ff:ff:ff # ip route show default via 192.168.5.1 dev br0 unreachable 10.0.0.0/8 scope host unreachable 172.16.0.0/12 scope host 192.168.100.0/24 dev virbr1 proto kernel scope link src 192.168.100.1 192.168.5.0/24 dev br0 proto kernel scope link src 192.168.5.2 # ip -6 route show fe80::/64 dev br0 proto kernel metric 256 # ping -c3 www.heise.de PING www.heise.de (193.99.144.85) 56(84) bytes of data. 64 bytes from www.heise.de (193.99.144.85): icmp_seq=1 ttl=249 time=33.3 ms 64 bytes from www.heise.de (193.99.144.85): icmp_seq=2 ttl=249 time=33.1 ms 64 bytes from www.heise.de (193.99.144.85): icmp_seq=3 ttl=249 time=30.5 ms --- www.heise.de ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 30.515/32.334/33.309/1.295 ms # ping6 -c3 www.heise.de connect: Network is unreachable Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org