Hello,

        Recently a customer complained because he could
not get to beardie_fun.listbot.com.  The name has an 
illegal '_' in it, and squid complains.

        I compiled url.c with ALLOW_HOSTNAME_UNDERSCORES.  This is
squid 2.1.patch2.  Squid doens't complain about the underscore anymore
, but the DNS lookup fails.  If I do an nslookup on the machine, it
works.  I put an entry in the /etc/hosts for beardie_fun.listbot.com,
and everything works fine.

        This is on Freebsd 2.2.8.  I took a look at the 
source for gethostbyname and I don't see it checking for
illegal characters.

        Has anyone else seen this?


        Thanks,
        Jon Fraser

Reply via email to