This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bug: ssh-host-config - getent when computer name is "-" (dash)


On 24/03/2016 22:45, cyg Simple wrote:
On 3/24/2016 11:43 AM, Dirk Fassbender wrote:
Am 24.03.2016 um 15:12 schrieb Unknown Sender:
I noticed this bug for the first time today on a computer that has the
computer name "-" (dash).


See
https://en.wikipedia.org/wiki/Hostname
for a start about host name definitions.


 From this reference:
"The Internet standards (Requests for Comments) for protocols mandate
that component hostname labels may contain only the ASCII letters 'a'
through 'z' (in a case-insensitive manner), the digits '0' through '9',
and the hyphen ('-'). The original specification of hostnames in RFC
952, mandated that labels ** could not start**  with a digit or with a hyphen,
and must not end with a hyphen."

Note that hyphen (a.k.a. dash) is permitted.

not as first letter

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]