This is the mail archive of the
mailing list for the Cygwin project.
Re: FQDN hostname
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 6 Sep 2003 11:41:06 +0200
- Subject: Re: FQDN hostname
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html