:: Re: [DNG] resolv.conf gets not upda…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: terryc
Date:  
À: dng
CC: 
Nouveaux-sujets: Re: [DNG] resolv.conf gets not updated from /etc/network/interfaces FIXED!
Sujet: Re: [DNG] resolv.conf gets not updated from /etc/network/interfaces
On Sun, 20 Oct 2024 19:06:03 +0200
Wolfgang via Dng <dng@???> wrote:

> Hello,
>
> after replacing several debian installations with devuan, I fight
> with resolv.conf. How can I make it happen, that all dns- related
> configuration entries are taken over to /etc/resolv.conf?
>
> I have entries like: dns-search, dns-options, dns-nameserver which
> are not taken over during boot or network restart into resolv.conf.
>
> For systems with static interfaces it is possible to put those
> entries into /etc/resolvconf/resolv.conf.d/head,
> but that is a bad workaround for systems with static configuration.
>
> Thanks for helpful hints/links/infos
>
> Wolfgang


Well, all my PC systems are static and long ago I moved(copied) the dns
entries from /etc/network/interfaces to /etc/resolv.conf.

This may only matters if you use VPN's.

Using a script provided by a commercial to start ans top the VPN, the contents are moved aside at the start of
the session and moved back at the end of the session.YMMV.

If you use openvpn, then you create up and down entries in the
scripts. I cheated on one server to get stuff going and just have

nameserver 9.9.9.9
nameserver 1.1.1.1

It works. Fixing it is on the to-do list.

terryc


write
something into the

\