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

Re: resolv.conf misbehaving



On Thu, Feb 20, 2014 at 05:17:22PM +0200, Danny wrote:
> 
> Hi guys,
> 
> The past weekend I upgraded from Debian v3.0 to the latest Debian stable (7.0 or
> something) ... (wish I never did) ...
> 
> However, I have noticed that my resolv.conf gets overwritten by something after
> every reboot. The Debian server resolves all local (internal) addresses and the
> ADSL router resolves all external addresses.
> 
> Normally my resolv.conf looked like this
> 
> nameserver 10.0.0.2 (ADSL router)
> nameserver 10.0.0.5 (Debian server to resolve local addresses)
> 
> Now it get's overwritten with :
> 
> nameserver 10.0.0.2
> 
> I need to reslove both local and external addresses. At the moment I have to
> manually add the 10.0.0.5 into the resolv.conf file after rebooting.
> 
> Any help or pointers?
> 
> 

Welcome to the (un)helpful world of "let me do that for you because it is
easier"  aka networkmanager and/or resolvconf.

You will need to either update your /etc/network/interfaces entry for the
server or edit /etc/resolvconf/resolv.conf.d/base

Pat


Reply to: