On Tue, Mar 10, 2026 at 9:03 AM Greg Wooledge <[email protected]> wrote:

> On Tue, Mar 10, 2026 at 13:16:32 +0100, Roger Price wrote:
> > Thanks for the URL.  Clause 4.7.3.1 Unmanaged /etc/resolv.conf looks
> like what I
> > need. I defined file /etc/NetworkManager/conf.d/DNS.conf as :
> >
> >    # Prevent NetworkManager from changing /etc/resolv.conf
> >    [main]
> >    dns=none
> >
> > I defined /etc/resolv.conf as
> >
> >    # Use Cloudfare DNS instead of ISP's DNS
> >    nameserver 1.1.1.1
> >    nameserver 1.0.0.1
> >    nameserver 2606:4700:4700::1111
> >    nameserver 2606:4700:4700::1001
> >
> > I restarted NetworkManager and command NetworkManager --print-script now
> reports
> >
> >    [main]
> >    dns=none
> >
> > The file /etc/resolv.conf has not been modified.  This is a complete
> solution to
> > my problem. :-)
> >
> > I read the Debian Wiki. Essentially, this says "use
> nm-connection-editor".
> [...]
>
> I've added the alternative solution to the wiki page.  Thank you for
> letting us know about it.


++.

Reply via email to