Re: 1.0.12 and URL containing an underscore

From: Joe Ramey <ramey@dont-contact.us>
Date: Tue, 22 Oct 1996 11:23:42 -0500

   Date: Tue, 22 Oct 1996 11:47:31 -0700
   From: Marc Delisle <delislma@CollegeSherbrooke.qc.ca>
   Organization: College de Sherbrooke

   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.

I don't think that setting up an alias is enough, since the resolver
still sees the bad name (the one with an underscore).

Instead, they should set up an A record for www.crc-cuse.usherb.ca,
and if they want to keep the old name, they should make *it* an alias.

In other words, instead of

www.crc-cuse.usherb.ca. CNAME www.crc_cuse.USherb.ca.
www.crc_cuse.USherb.ca. A 132.210.161.70

they should have the reverse, that is,

www.crc_cuse.usherb.ca. CNAME www.crc-cuse.USherb.ca.
www.crc-cuse.USherb.ca. A 132.210.161.70

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

The answer depends on your operating system, but in some cases, both.

I've copied the DNS admin of usherb.ca on this response, for their
information.
Received on Tue Oct 22 1996 - 09:27:21 MDT

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