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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 3 Mar 2003 22:40:34 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Geoffrey Hausheer cc: cygwin AT cygwin DOT com Subject: Re: why is bash trying to access my DNS? In-Reply-To: <20030304030705.381F74AB1F@server2.fastmail.fm> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 3 Mar 2003, Geoffrey Hausheer wrote: > One more thing, I forgot to ask... > > On Mon, 03 Mar 2003 18:46:09 -0800, "Geoffrey Hausheer" said: > > Thank you, this indeed is the issue, as can be seen from the very next > > line after the wsock call: > > 5495150 5519336 [main] bash 1940 cygwin_gethostname: name Holly > > I don't suppose there is any way to prevent all of these hostname lookups > (since they are obviously sommething somewhat recent)? > For bash I can just tell ZoneAlarm to ignore it, and all is well, but > since applications like vim seem to be doing the same thing (and yes I > removed \h from my PS1 line, just to be sure), the whole point of > installing ssh (to get sshd working) has gone out the window since > anytime I run a program that uses hostname, ZoneAlarm will complain on my > local desktop, and my remote session will hang (Obviously, I could let > all outgoing programs access the internet freely, but preventing that is > half the reason I run ZoneAlarm in the first place) > > Thanks again, > Geoff If you have a static IP, try adding an entry with your IP address and your computer name to /etc/hosts. This should make winsock resolve the name locally, rather than query the DNS server. Igor P.S. Your /etc/hosts should be a link to c:\winnt\system32\drivers\etc\hosts -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/