[sllug-members]: DNS woes?

Lonnie Olson sllug at fungusmovies.com
Mon Apr 21 17:02:19 MDT 2008


On Mon, 2008-04-21 at 13:20 -0600, Christopher Hogan wrote:
> On Mon, Apr 21, 2008 at 10:39 AM, Tarrant Rollins
> <tarrant.rollins at gmail.com> wrote:
> >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.
> 
> I have this same problem with an Actiontec (QWest) DSL modem. However,
> I just stopped using the modem's DHCP server and set up a home server
> that handles DHCP.
> 
> > 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.
> 
> In Gentoo, you would edit /etc/conf.d/net:
> 
> dhcp_eth0="nodns"
> 
> Also, from the dhcpcd man page:
> 
> -R, --nodns
>  Don't send DNS information to resolvconf or touch /etc/resolv.conf

While all these suggestions given so far will work, none of them are
optimal, and require more effort than the "right" way to do it.

To find the "right" way to fix the problem you need to understand what
is happening.  The DNS Server built into your router (affects many other
router manufacturers too) really sucks.  

Since the DNS server is set via DHCP passed from the router, you should
fix the source of DNS Server setting.  Don't bother trying to hack your
system to prevent DNS settings from being accepted.  Just fix your
router's DHCP server, by changing it to hand out *good* DNS Server
addresses.  This will fix all of your devices inside your network with
one change!

OpenDNS.com has great screenshots and instructions to help you change
which DNS Server addresses are handed out.  You don't have to use
opendns servers if you don't want to, but the instructions are good
nonetheless.
https://www.opendns.com/start?device=belkin

--lonnie



More information about the sllug-members mailing list