why is bash trying to access my DNS?

Randall R Schulz rrschulz@cris.com
Mon Mar 3 23:12:00 GMT 2003


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/



More information about the Cygwin mailing list