public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: FQDN hostname
Date: Sat, 06 Sep 2003 09:41:00 -0000	[thread overview]
Message-ID: <20030906094106.GS1859@cygbert.vinschen.de> (raw)
In-Reply-To: <bjc3bd$6j9$1@sea.gmane.org>

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@cygwin.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/

  reply	other threads:[~2003-09-06  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06  7:49 Kilian CAVALOTTI
2003-09-06  9:41 ` Corinna Vinschen [this message]
2003-09-06 10:03   ` Kilian CAVALOTTI
2003-09-08  2:33 ` Brian Dessent
2003-09-14  9:16   ` Kilian CAVALOTTI
2003-09-14  9:53     ` Brian Dessent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030906094106.GS1859@cygbert.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).