resolv.conf questions

Robert Heller heller at deepsoft.com
Wed Aug 7 18:26:52 UTC 2019


At Wed, 7 Aug 2019 19:54:59 +0800 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> Sorry I was still confused.
> When I put the line into /etc/resolv.conf:
> 
> nameserver 8.8.8.8
> 
> after a while it was replaced by the default one:
> 
> nameserver 127.0.0.53
> 
> How can I enforce to use 8.8.8.8 as nameserver?

Either you need to read the man pages for systemd-resolved and update its 
configuration (possibly non-trivial) OR do this:

sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved

*Then* edit /etc/resolv.conf

(I know some people will tell you not to do that.)

> 
> Thanks & regards.
> Eliza
> 
> 
> 在 2019/8/7 19:42, Tom H 写道:
> > Oops. Thanks.
> > 
> > But what I meant was that the fact that resolvconf was being being
> > dropped/demoted isn't in the release notes.
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                                      




More information about the ubuntu-users mailing list