* Re: PMDF refuses mail?
1995-02-21 18:50 PMDF refuses mail? Glen A. Herrmannsfeldt
@ 1995-02-24 6:31 ` Aaron Leonard
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Leonard @ 1995-02-24 6:31 UTC (permalink / raw)
In article <3idclt$seq@gap.cco.caltech.edu>, gah@cco.caltech.edu (Glen A. Herrmannsfeldt) writes:
|PMDF refuses mail from the machine named nu.e-.com with the
|message.
|
|Message rejected; bad return address.
|
|Reason: 501 Syntax Error. Domain name cannot end with '-'
|
|It doesn't seem to mind sending to it, though.
|
|Is this really a necessary test?
|There was recently a huge number of messages related to Apple
|resolver refusing to lookup names with underline (_) in them.
|But - is legal in domain names.
|
|If there is a better place to ask this, please tell me.
Well, RFC-952 - which is what RFC-1123 - the mother of all application-
layer RFCs - references as the authority for valid hostnames - states:
1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
sign (-), and period (.). Note that periods are only allowed when
they serve to delimit components of "domain style names". (See
RFC-921, "Domain Name System Implementation Schedule", for
background). No blank or space characters are permitted as part of a
name. No distinction is made between upper and lower case. The first
character must be an alpha character. The last character must not be
a minus sign or period.
1123 extends this thus:
The syntax of a legal Internet host name was specified in RFC-952
[DNS:4]. One aspect of host name syntax is hereby changed: the
restriction on the first character is relaxed to allow either a
letter or a digit. Host software MUST support this more liberal
syntax.
Host software MUST handle host names of up to 63 characters and
SHOULD handle host names of up to 255 characters.
Now, how "last character" is to be interpreted in 952 might be debatable:
- is that the last character in any "component" of a name, or in the
*first* component, or only in the *last* component?
My impression is that the "first character" and "last character"
business refers to EACH component - and so the NIC probably
shouldn't have allowed you to *get* "e-.com". If we were to
interpret "last character" as meaning merely that a new TOP LEVEL
domain mustn't end in "-" - well, that sounds pretty silly.
But that's me.
|If there is a better place to ask this, please tell me.
For a discussion of what's OK in a domain name,
comp.protocols.tcp-ip.domains. (This topic should keep that group
absorbed for another couple of weeks.) For a discussion of what PMDF
should or should not be doing, vmsnet.mail.pmdf.
Cheers,
Aaron
Aaron Leonard MultiNet-VMS@Support.TGV.COM [ work ]
Leonard@Leonard.Tucson.AZ.US [ home ]
^ permalink raw reply [flat|nested] 2+ messages in thread