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. --James __________________________________ A random quote of nothing: "If anything can go wrong, it will." -- Edsel Murphy -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
