resolvconf troubles

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: resolvconf troubles

Brian
On Thu 27 Oct 2016 at 19:03:21 -0600, Glenn English wrote:

> Does anyone know how to get rid of resolvconf?
>
> I'm putting a server together, and resovlconf keeps wiping my /etc/resolv.conf file and replacing the nameserver IP with "# Created by resolvconf" (approx). No nameserver, no anything.

You are building a server? Is this from Lego?

What makes you think your planning requires resovlconf to be on it?

In case my point is not obvious - don't install resovlconf. Your problems
go away when you take control.

--
Brian.

Reply | Threaded
Open this post in threaded view
|

Re: resolvconf troubles

Igor Cicimov
In reply to this post by Glenn English-5

On 28 Oct 2016 12:21 pm, "Glenn English" <[hidden email]> wrote:
>
> Does anyone know how to get rid of resolvconf?
>
> I'm putting a server together, and resovlconf keeps wiping my /etc/resolv.conf file and replacing the nameserver IP with "# Created by resolvconf" (approx). No nameserver, no anything.
>
> I removed it with Aptitude, and the file started talking about being built with dhcpd. Nameserver still wiped, and Aptitude says there's no package called dhcpd.
>
Thats the dhcp client, check https://wiki.debian.org/NetworkConfiguration#Defining_the_.28DNS.29_Nameservers

It can also rewrite the /etc/resolv.conf file when in use. Look for dhclient3 process, its usually started by NetworkManager.

> These things seem to be triggered by an ifupdown, to either state. I removed some cruft that triggered it; now ifupdown doesn't any more, but a reboot does. As best I can tell, there's nothing in man or on the 'Net about removing it or just making it stop killing my nameserver file.
>
> This is a server. It will have a very stable nameserver IP. I'd like to be able to create a file containing the IP and not have 'helpful' software scribble on the file.
>
> Any and all suggestions will be appreciated...
>
> --
> Glenn English
>

12