[squid-users] Squid 3.2.5 wants to use IPv6 address?

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Wed, 19 Dec 2012 13:19:23 +0100

When trying to access http://www.vkontakte.ru/, I'm getting an error:

Connection to 2a00:bdc0:3:103:1:0:403:900 failed.
(101) Network is unreachable

The access.log shows:
1355919201.762 6 141.42.231.227 TCP_MISS/503 4480 GET http://www.vkontakte.ru/ - HIER_DIRECT/2a00:bdc0:3:103:1:0:403:909 text/html

# dig @127.0.0.1 A www.vkontakte.ru

; <<>> DiG 9.8.1-P1 <<>> @127.0.0.1 A www.vkontakte.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21409
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;www.vkontakte.ru. IN A

;; ANSWER SECTION:
www.vkontakte.ru. 449 IN A 87.240.188.252
www.vkontakte.ru. 449 IN A 87.240.188.254

;; AUTHORITY SECTION:
vkontakte.ru. 8448 IN NS ns2.vkontakte.ru.
vkontakte.ru. 8448 IN NS ns4.vkontakte.ru.
vkontakte.ru. 8448 IN NS ns3.vkontakte.ru.

Asking for AAAA yields:

;; ANSWER SECTION:
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:909
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:900
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:901
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:902
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:903
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:904
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:905
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:906
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:907
www.vkontakte.ru. 3876 IN AAAA 2a00:bdc0:3:103:1:0:403:908

But why is it using ipv6 here?

When accessing http://www.arschkrebs.de/ which ALSO has both A and
AAAA records, it happily uses the A record?!

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt_at_charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
Received on Wed Dec 19 2012 - 12:19:32 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 19 2012 - 12:00:15 MST