X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=itOEEdhnOdCrgFlC
	M2NkXqAu6njEbyJjoGz0Ht4dgRdC4Mj7gKApQV5aEur1+g1uv8z9yCDcQbkH2E93
	wnVVjqzQVXfqVRu4DgSEnRcb/MW6F+++4uZckpHJga1KvLzmhk7f3K7V9BVACVFI
	SXZAnePo5I2btJtfqc+lV3XuAC0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=W5+9ZT/DELvxTC2MQ3kXu4
	8ZcdE=; b=guvTwLM+fSEUSlW1XpDuBmNhCbE2BmX/Db25IDYT0GmfrUdn/5aPvN
	e4YDU3vMxb3fcl+XXGDhiA5a7rsywKAjTZrXMrdSq9IuhkV/bBoatv35pAyY26Xo
	Ytn/2kWWf4jntWyXrg5qBSVLXs4sGTJpkYKzaQP8FbUsvOfORAFis=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:919, letter, 24.03.2016, 24032016
X-HELO: mail-wm0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=ZRuIhiaGUXXbPPmsjJKqmDHwgh8iyxUQRdnyncS2dww=;        b=hZ+/MAFaT2XnpCXWqtQl4h/DFWvLaU0Zh96/dTyQYAI7cmVQlOP4AY2QbwCVwiuHlT         lYo2B2X3hGZUf4vJMm3mX4x47OmoiNyAB35ztQ9JyeXzxkG8YXc23C8s9Xwc0VE3DFWZ         lebrc7CR/9FJhYiEgPGW9bs9gJkeuly2nXZrpCJWo61RK6h2tneUJ2HFPrnwcTzwRozg         vY/uxckKtn1bAneA/rJNHFclaU6wKO+oFU2P9moe+9KX/ISCFg9AjvFs3aek1QI6hnUC         Xib7ftfqJA51/q5mKJE0htLWjja25exMa+XNFP7cJAHM+LpWZWxjvFsnp90mQTcIZVX3         LLbg==
X-Gm-Message-State: AD7BkJIB8VQMWncTIFmd/Y3JtS7mteNNT7gZM4NpM+t3X6eAL++89WhYGsNGy3XdFvikjg==
X-Received: by 10.194.61.19 with SMTP id l19mr11924810wjr.148.1458856158767;        Thu, 24 Mar 2016 14:49:18 -0700 (PDT)
Subject: Re: Possible bug: ssh-host-config - getent when computer name is "-" (dash)
To: cygwin@cygwin.com
References: <trinity-e5b0769d-61d9-4ca8-9820-6997056dc6a2-1458828746171@3capp-mailcom-lxa02> <56F40B07.2020400@arcor.de> <56F46003.2060704@gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <56F460DB.1030807@gmail.com>
Date: Thu, 24 Mar 2016 22:49:15 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <56F46003.2060704@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

