Sorry. I was trying to keep it short.<br>Linux, of course. Debian etch for amd-64<br><br>/etchosts has a 127.0.0.1 localhost grassmann<br>line plus a line 192.168.0.21 <a href="http://grassmann.harke.org">grassmann.harke.org</a> grassmann<br>
and similar for my other machines on this lan<br>every thing on this lan has fixed IP address<br><br>One mystery solved. /etc/resolv.conf has the IP addresses for openDNS<br>But I don&#39;t know how they got there. The file is dated 10/20 so it might be<br>
from when I used the wifi at Borders. I had to change my interfaces file<br>and do a ifup ath0=borders to get connected. Could that have given<br>permission to rewrite /etc/resolv.conf?<br>I guess I could check this out the next time I&#39;m at Borders.<br>
<br>I used wireshark to trace the net happenings. I just retried with the net connected<br>to see if there was any follow up to the DNS query.  For firfox, er iceweasel,<br>there was but for a card game no follow up.<br><br>
<div class="gmail_quote">On Tue, Oct 27, 2009 at 1:46 AM, Bill Broadley <span dir="ltr">&lt;<a href="mailto:bill@broadley.org">bill@broadley.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Bill Kendrick wrote:<br>
&gt;    When I use my laptop without a network connection, it becomes very, very<br>
&gt;    slow launching applications. I&#39;ve done some tracing and apparently it<br>
&gt;    sends<br>
<br>
</div>Very strange.  Operating system?  Distribution?  Anything unusual?  What does<br>
hostname report?  What is in /etc/hosts?<br>
<br>
My best guess (with very little info) is that you are trying to find localhost<br>
and failing.<br>
<div class="im"><br>
&gt;    some kind of request to a DNS server. Not just any DNS but openDNS in<br>
<br>
</div>Apparently?  Strace?  Wireshark?  How you tracked it down would be helpful.<br>
<div class="im"><br>
&gt;    particular. When its off net, it waits for the time-out before continuing.<br>
<br>
</div>Ugly.  Try adding your hostname to the /etc/hosts entry for 127.0.0.1<br>
<div class="im"><br>
&gt;    So two quesions Why contact DNS for any app launch? (This includes<br>
&gt;    apps that have no possibility of using the net)<br>
<br>
</div>Anything that displays X (or runs inside of a new xterminal) needs to find the<br>
$DISPLAY, which might well do a hostname lookup to set/check the display.<br>
<div class="im"><br>
&gt;    2nd. Why openDNS? I had never heard of them before and certainly<br>
&gt;    haven&#39;t signed up for their service.<br>
<br>
</div>I&#39;m a fan, certainly much faster on average than what pacbell provides.  Where<br>
does your laptop/router get it&#39;s IP?  Static?  DHCP from your network<br>
provider?  If it&#39;s dhcp then you are getting the DNS servers from your dhcp<br>
provider, if not then someone likely followed the opendns directions for your<br>
router/laptop.<br>
<br>
I wouldn&#39;t be terribly surprised if say a linksys router installed with a<br>
community linux distribution like openwrt defaulted to using opendns as a server.<br>
</blockquote></div><br>