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 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 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> <20030303225214 DOT 83B0449E74 AT server2 DOT fastmail DOT fm> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/