Re: 1.0.12 and URL containing an underscore

From: Marc Delisle <delislma@dont-contact.us>
Date: Tue, 22 Oct 1996 11:47:31 -0700

Mark Boyns wrote:
>
> > With Squid 1.0.12, Linux 2.0.21 and Netscape Navigator 3.0:
> >
> > =======
> > While trying to retrieve the URL: http://www.crc_cuse.usherb.ca/
> >
> > The following error was encountered:
> >
> > DNS name lookup failure
> >
> > The system returned:
> >
> > DNS Domain 'www.crc_cuse.usherb.ca' is invalid: Non recoverable
> > errors.
> > ========
> >
> > However:
> >
> > # nslookup www.crc_cuse.usherb.ca
> > Server: ns.CollegeSherbrooke.qc.ca
> > Address: 192.219.64.2
> >
> > Non-authoritative answer:
> > Name: www.crc_cuse.usherb.ca
> > Address: 132.210.161.70
>
> This is probably because `_' is not valid in a hostname. This was
> a problem for us when we upgraded to bind 4.9.4.

I'm using bind 4.9.4-P1. I looked at RFC1912 and they indeed mention
that an underscore is not standard, althought it is allowed in RFC1033,
which is not a standard :)

The people at usherb.ca tell me that they also set up an alias
www.crc-cuse.usherb.ca. I wonder why Squid also gives an error on this
one.

Finally, can someone tell me if the gethostbyname() call comes with
bind, or with libc?

-- 
Marc Delisle              
DelislMa@CollegeSherbrooke.qc.ca                    
Service Informatique,                              
Collège de Sherbrooke      
Québec.  819/564-6223
Received on Tue Oct 22 1996 - 08:45:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:19 MST