delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/03/18:13:14

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
Message-Id: <5.2.0.9.2.20030303151039.03281868@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Mon, 03 Mar 2003 15:13:07 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: why is bash trying to access my DNS?
In-Reply-To: <20030303230236.GA517381@Worldnet>
References: <20030303225214 DOT 83B0449E74 AT server2 DOT fastmail DOT fm>
<Pine DOT GSO DOT 4 DOT 44 DOT 0303031636080 DOT 25599-100000 AT slinky DOT cs DOT nyu DOT edu>
<20030303225214 DOT 83B0449E74 AT server2 DOT fastmail DOT fm>
Mime-Version: 1.0

Geoffrey,

Just to connect the dots, does your BASH prompt contain "\h" or "\H"? 
The default PS1 established in "/etc/profile" and 
"/etc/profile.default" contain "\h" and hence trigger a host name look 
up per Pierre's message.

Randall Schulz


At 15:02 2003-03-03, Pierre A. Humblet wrote:
>Probably because it tries to get your hostname.
>At any rate you should see why if you let strace
>run a little bit more.
>
>In previous versions Cygwin was using GetComputerName.
>Not it uses gethostname, loading wsock.
>
>Pierre


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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