On Tuesday 04 December 2007, Allen Weiner wrote:
> Chris: I'm responding to your message of Dec. 4 on this thread. I
> inadvertantly deleted it in my email reader while intending to send a
> reply. (I'm new to the Evolution email program. My Thunderbird profile
> got broken when I switched ISP's from dial-up to DSL and I can't fix
> it.)

   Ok.  Bummer.  Evolution is another good alternative.  You can probably 
import the mail into Evolution if need be.  Also Thunderbird used standard 
mbox format last I knew, so you can probably view the mailboxes easily 
with 'mutt -f <file>'.  [Mutt is awesome for that.]

> You asked what DNS servers I entered into /etc/resolv.conf when I
> switched to static IP.
>
> I switched to static IP using the GUI (Fedora/KDE: Network Device
> Control -> configure -> eth0). I entered the addresses that I had found
> in the modem configuration screens while I was still using dynamic IP.
> Primary DNS is 68.237.161.12. Secondary DNS is 71.250.0.12. These both
> verify as Verizon DNS servers.

   That sounds fine, but conflicts with what you found below:

> My /etc/resolv.conf contains:
>
> ; generated by /sbin/dhclient-script
> search myhome.westell.com
> nameserver 192.168.1.1
> nameserver 192.168.1.1

   This means that DNS is pointing to your router rather than to the IP 
addresses you had entered for DNS resolution in the Network Device Control.  
I've never much liked pointing DNS resolution at a router that forwards the 
queries; if nothing else it seems to add latency.

   I suggest changing /etc/resolv.conf to point to the Primary DNS and 
Secondary DNS servers you had put into the Network Device Control GUI.  Not 
sure if it will change anything except, though it might remove DNS as the 
possible cause for your connection loss.  [And I have seen that happen.  DNS 
is critical for pretty much all network services.]

> This is the same as when I was using dynamic IP. "Bit Twister" had
> several comments about this:
>
> 1. cat /etc/resolv.conf should show only one nameserver line. If two,
> your dhcp client is still running.

   Not true.  Every box I've ever worked on has multiple 'nameserver' lines 
pointing to different DNS servers.  Nothing wrong with that; it's even 
recommended to have multiple entries.  It /is/ true that pulling DHCP will 
modify the contents of /etc/resolv.conf though.

> (I don't see any evidence that my dhcp client is still running. As I
> mentioned, my "leases" file has not changed since Nov. 7).

   I'm content that you're using a staic IP.

> 2.I would delete the search line to speed up DNS lookups.
> and change the second nameserver to a public one if me.

Rather than remove the 'search' line I recommend changing it to:
    domain myhome.westell.com
    nameserver 68.237.161.12
    nameserver 71.250.0.12

   So instead of searching on a non-existant domain which may delay DNS 
queries, this SETS what domain the box is in, giving you the same speedup.  
Have a quick look at 'man resolv.conf' which will explain a bit more about 
the options for the file.

   -- Chris

-- 

Chris Knadle
[EMAIL PROTECTED]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Dec 5 - Open Source Show and Tell
  Jan 2 - TBD
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to