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 Subject: Re: why is bash trying to access my DNS? From: David Means To: cygwin AT cygwin DOT com In-Reply-To: <20030304030705.381F74AB1F@server2.fastmail.fm> References: ARRAY(0x9dff3c8) <20030304030705 DOT 381F74AB1F AT server2 DOT fastmail DOT fm> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+o8bqH/HkIh3Nnq2+/V6" Organization: The-Means.net Message-Id: <1046754506.23305.24.camel@milo> Mime-Version: 1.0 Date: 04 Mar 2003 00:08:27 -0500 --=-+o8bqH/HkIh3Nnq2+/V6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Proper hostname resolution should look in the hosts file before querying DNS. Try putting your hostname/ip address pair in your host file. I don't recall if windows will look there first, though. However, if you're getting your IP address via DHCP, this isn't going to work for you. Seconly, why are you worried about outbound DNS? Can you not configure ZoneAlarm to trigger only on DNS targeted to your machine? Certianly you're not worried you or someone else on your SOHO network will hacking a DNS server? On Mon, 2003-03-03 at 22:07, Geoffrey Hausheer wrote: > One more thing, I forgot to ask... >=20 > 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 >=20 > 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=20 > 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) >=20 > Thanks again, > Geoff >=20 >=20 > -- > 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/ --=20 David Means Being a programmer is like being married: You talk to your spouse about lots of things, only to find that something you=20 said (and promptly forgot) has come back to bite you in the ass=20 months later. =20 --=-+o8bqH/HkIh3Nnq2+/V6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEABECAAYFAj5kNMoACgkQUd0KwqAz4apfegCeNRpdHSUind/lExuuM68/QPrj bgEAn2JZJoqX17IG0OrsAG9UPgriy4hn =n8v6 -----END PGP SIGNATURE----- --=-+o8bqH/HkIh3Nnq2+/V6--