Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 6 Sep 2003 11:41:06 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: FQDN hostname Message-ID: <20030906094106.GS1859@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Sat, Sep 06, 2003 at 09:45:52AM +0200, Kilian CAVALOTTI wrote: > I'd like to know why the cygwin hostname can't take any argument. The GNU source code in sh-utils as well as in the latest coreutils has no such argument as --fqdn or --long. > I need to > see if my FQDN win32 hostname is properlly configured, and all what I can > see using 'hostname' is just the netbios name. Is it possible to see (and > maybe set) the full hostname with cygwin ? Not yet. The Windows API is a bit weird coming to that. Especially new APIs are available since W2K so there's no unified access to that stuff on all supported Windows systems. > Is it possible to bypass this behaviour, and force OE to send its full > qualified domain name, when it says HELO ? And I assume that cygwin and OE > use the same kind of method to retrieve the hostname. Dunno but I actually doubt that Cygwin and OE are using the same API. Cygwin still uses old Winsock1 functionality, OE probably the new API for DNS queries if available. You should ask OE questions better in a related Microsoft newsgroup. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/