[EMAIL PROTECTED] wrote on 08/10/2003 10:58:45: > On Wed, 8 Oct 2003 09:32 am, [EMAIL PROTECTED] wrote: > > [EMAIL PROTECTED] wrote on 08/10/2003 09:33:53: > > > On Wed, 8 Oct 2003 08:57 am, Gareth Walters wrote: > > > > G'day all, > > > > > > > > Valid characters for hostnames (DNS) are still a-z and - are they > > > > not, as per rfc952? > > > > > > > > I am getting some entries in my mail server logs that suggest there > > > > are a few hosts trying to send mail to me with underscores in their > > > > names. > > > > ---Gareth > > > > > > You are correct a-z 0-9 are valid anywhere in a host/domain name, the > > > hyphen "-" is only valid if it is NOT the first or last character in the > > > host/domain name. So "foo-bar" is valid, "-fancyhost-" is invalid. > > > > > > I've seen plenty of invalid hostnames appearing in my mail/DNS logs and > > > they always come from Windows machines. Windows is NOT RFC compliant > > > and will allow a clue-challenged user to define whatever characters they > > > want in a host/domain name and then dutifully publish them on a public > > > network (eg, Internet/DNS etc). Oh yeh, but the world should be that > > > way right? M$ says so. > > > > I think you'll find windows is now compliant I'm sure I remember a > > windows admin bitching when his new win2000 box would not let him use a > > underscore > > > > Jeff Allison > > I'll take your word for it...I havn't had the misfortune of doing > host-naming on Windows boxes since NT4-SP6 :) If they've fixed the naming > anomalies to better reflect the RFC then that is a good thing. > They didn't he wanted to call it bears_fan
Jeff Allison Operations Manager Mobile: 61 (0) 410 502702 eMail [EMAIL PROTECTED] ____________________________________________________________________ Tokata Management Systems Pty. Limited Loch Mews, 3/17 Laburnum Crescent Noosaville, Qld, Australia 4566 Phone: 61 (0) 2 4399 3653 Fax: 61 (0) 2 4399 2195 Web: http://www.tokata.com.au ____________________________________________________________________ Learning Infrastructure For the Enterprise -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
