[sllug-members]: DNS woes?
Kevin Pendleton
kevin at roundsphere.com
Mon Apr 21 16:48:22 MDT 2008
sllug-members-request at sllug.org wrote:
> Date: Mon, 21 Apr 2008 10:39:13 -0600
> From: "Tarrant Rollins" <tarrant.rollins at gmail.com>
> Subject: [sllug-members]: DNS woes?
> To: sllug-members at sllug.org
> Message-ID:
> <cf13176e0804210939m1767596ey8592dcd87caef557 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> So I had a question about something that has been annoying me for a while.
>
> I have two Linux computers a Slackware Desktop/Home Server and a Xubuntu
> Laptop. Both computers when trying to access web pages take a eternity and a
> half resolving domain names. I've found a Quick and Dirty fix which involves
> me editing /etc/resolv.conf and moving the local Belkin Router to the bottom
> of the list. The problem is that every time the computer goes off (or my
> laptop goes into suspension) the file gets remade and therefor needs to be
> reedited. Is their anyway to actually fix the problem on either the
> computers or on the Belkin wireless router?
>
> Thanks for any help you can provide!
> -Tarrant
Tarrant,
The reason that the resolv.conf file is being overwritten is that you
have your NICs set to DHCP. When your computer retrieves an IP address
it also gets the DNS servers from the router's settings. So there are
multiple ways to "fix" the issue. First, assign yourself a static
internal IP address that will work behind your router, change the
resolv.conf file and it will no longer be overridden. Second, possibly
change the order of the DNS servers on the router (may not be possible,
but would be in the LAN setup). Third, figure out why your router is
such a lousy DNS caching server, perhaps a firmware update is available,
maybe someone manually put in an IP address for a DNS server that no
longer exists. Fourth, set up DNS caching on your linux boxes and set
the first IP address in /etc/resolv.conf to your localhost..... The
first answer would probably be the easiest. :)
Kevin
More information about the sllug-members
mailing list