[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/resolv.conf and resolvconf



On Thursday 21 January 2010 08:44:38 pm Tom H wrote:
> > Sometime ago, I switched to OpenDNS using the resolvconf program.  I now
> > want to switch back to the default DNS provided by the gateway -
> > 192.168.1.254, which, I think, passes over to ATT's server. I'd use
> > resolvconf, but I forgot how and the man page isn't much help to me. So,
> > I purged resolvconf; now the only instance of resolvconf  is the deb file
> > in apt archives and /etc/resolv.conf is no longer a symlink.   I then
> > manually
> > changed /etc/resolv.conf.  However, upon a dhcp request resolv.conf
> > reverts to OpenDNS.  I tried  entering "prepend domain-name-servers
> > 192.168.1.254" in /etc/dhcp3/dhclient.conf - but no relief.  What's
> > overwriting resolv.conf, and how do I stop it?
>
> If you are using NetworkManager, you have to set your DNS server in the NM
> GUI.

I use wicd, and the DNS is set correctly.

Frank McCormick wrote:
>> Yes.  ATT calls it a "residential gateway".  It's a dsl modem and
>>  router in one package.

>    I have a seperate router and cable modem but when I want to switch
> DNS I have to set up the new one in the router. I am not sure about DSL
> but my resolve.conf points to the router (192.168.1.1). The router then
> requests DNS services according to what's been set-up in it.

The DNS server, i.e. the .254,  is hard-wired into the router.  It can't be 
changed.  That's why I have to set it up on the computer.


Reply to: