SLUG Mailing List Archives
Re: [SLUG] Valid characters in hostnames.
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Valid characters in hostnames.
- From: jeff.allison@xxxxxxxxxxxxx
- Date: Wed, 8 Oct 2003 10:57:46 +1000
slug-bounces@xxxxxxxxxxx wrote on 08/10/2003 10:58:45:
> On Wed, 8 Oct 2003 09:32 am, techsupport@xxxxxxxxx wrote:
> > slug-bounces@xxxxxxxxxxx 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
> > > > are a few hosts trying to send mail to me with underscores in
> > > > names.
> > > > ---Gareth
> > >
> > > You are correct a-z 0-9 are valid anywhere in a host/domain name,
> > > hyphen "-" is only valid if it is NOT the first or last character in
> > > host/domain name. So "foo-bar" is valid, "-fancyhost-" is invalid.
> > >
> > > I've seen plenty of invalid hostnames appearing in my mail/DNS logs
> > > they always come from Windows machines. Windows is NOT RFC
> > > and will allow a clue-challenged user to define whatever characters
> > > want in a host/domain name and then dutifully publish them on a
> > > network (eg, Internet/DNS etc). Oh yeh, but the world should be
> > > 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
> > 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
> anomalies to better reflect the RFC then that is a good thing.
They didn't he wanted to call it bears_fan
Mobile: 61 (0) 410 502702
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
Learning Infrastructure For the Enterprise