delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/06/05:41:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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: <bjc3bd$6j9$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <bjc3bd$6j9$1@sea.gmane.org>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019