On Thu, 29 Jul 1999, Mike Batchelor wrote:
> http://www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.co.uk
> is an actual web site, and squid can't connect to it.� Try it.� The
> dnsserver claims it can't resolve the IP.�
# ./dnsserver
www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.co.uk
$addr 0 194.42.244.17
# nslookup www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.co.uk
[...]
Non-authoritative answer:
Name: www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.co.uk
Address: 194.42.244.17
Netscape through Squid 2.2.STABLE4:
Unable to determine IP address from host name for \
www.llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.c
Note, the domain name is truncated ("o.uk" is missing); clearly "dnsserver"
can resolve the address (above) but Squid can't store a host name that long.
The truncated length above is 64 characters; according to ./include/util.h,
Squid should permit a maximum host name length of 128 characters, or the
system default (whichever is greater). On my system (Solaris 2.5.1) the
setting of MAXHOSTNAMELEN is 256. Hey, look at that - it's also defined in
./src/squid.h...
Cheers..
dave
Received on Thu Jul 29 1999 - 20:47:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:38 MST