This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: why is bash trying to access my DNS?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]