Package: squid3
Version: 3.1.6-1.2
The DNS servers for http://www.maplin.co.uk/ do not respond to requests
for AAAA records. However, IPv4 works fine.
When trying to browse to this website through squid, lots of time is
spent on trying and re-trying AAAA lookups, and not a single attempt is
made to fetch an A record.
See the logs from my resolver:
Nov 22 16:56:42 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:56:52 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:57:12 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:57:52 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:59:12 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:59:22 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 16:59:42 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
Nov 22 17:00:22 ns1 named[1761]: client 72.26.241.92#50397: query:
www.maplin.co.uk IN AAAA +
After a while, the user agent gets a squid error message:
---------------------
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL:
http://www.maplin.co.uk/
Unable to determine IP address from host name www.maplin.co.uk
The DNS server returned:
Timeout
This means that the cache was not able to resolve the hostname presented
in the URL. Check if the address is correct.
---------------------
dig:
r...@demoproxy:~# dig www.maplin.co.uk @ns1.maplin.co.uk
; <<>> DiG 9.7.1-P2 <<>> www.maplin.co.uk @ns1.maplin.co.uk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34981
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.maplin.co.uk. IN A
;; ANSWER SECTION:
www.maplin.co.uk. 14400 IN A 81.101.84.143
www.maplin.co.uk. 14400 IN A 89.248.49.144
;; Query time: 83 msec
;; SERVER: 89.248.49.136#53(89.248.49.136)
;; WHEN: Mon Nov 22 17:08:03 2010
;; MSG SIZE rcvd: 98
r...@demoproxy:~# dig www.maplin.co.uk @ns1.maplin.co.uk AAAA
; <<>> DiG 9.7.1-P2 <<>> www.maplin.co.uk @ns1.maplin.co.uk AAAA
;; global options: +cmd
;; connection timed out; no servers could be reached
r...@demoproxy:~#
--------------------
using squeeze.
r...@demoproxy:~# uname -a
Linux demoproxy 2.6.32-5-686 #1 SMP Sat Oct 30 22:47:19 UTC 2010 i686
GNU/Linux
r...@demoproxy:~# dpkg -l | grep squid
ii squid-langpack 20100628-1
Localized error pages for Squid
ii squid3 3.1.6-1.2 A
full featured Web Proxy cache (HTTP proxy)
ii squid3-common 3.1.6-1.2 A
full featured Web Proxy cache (HTTP proxy) - common files
ii squidclient 3.1.6-1.2 A
full featured Web Proxy cache (HTTP proxy) - control utility
Thanks,
Gedalya