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

Re: resolv.conf misbehaving



On 20/02/14 15:17, 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



Its is probably dbclient doing it.  I had the same problem

Take a look at man dbclient.conf, and especially the prepend statement. I initially had the prepend at a global level but it wasn't working. Instead I followed the example in the man page and placed inside an

interface "eth0" {
...
    prepend domain-name-servers 10.0.0.5
}


Reply to: