resolv.conf questions

classic Classic list List threaded Threaded
71 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

resolv.conf questions

Eliza
Hello,

After installing ubuntu-18.04 I found there are the lines in
/etc/resolv.conf:

nameserver 127.0.0.53
options edns0

I am not familiar with Linux enough, having questions that:

why does nameserver set up to this address rather than a public DNS such
as 8.8.8.8?

How to disable it?

what is options edns0?

Thanks.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Colin Law
On Tue, 6 Aug 2019 at 13:32, Eliza <[hidden email]> wrote:
>
> Hello,
>
> After installing ubuntu-18.04 I found there are the lines in
> /etc/resolv.conf:
>
> nameserver 127.0.0.53
> options edns0

Does the file start with these lines or something similar?
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Robert Heller
In reply to this post by Eliza
At Tue, 6 Aug 2019 20:29:56 +0800 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> Hello,
>
> After installing ubuntu-18.04 I found there are the lines in
> /etc/resolv.conf:
>
> nameserver 127.0.0.53
> options edns0

127.0.0.53 points to the "systemd-resolved" process.  The theory is the
systemd-resolved is a caching DNS (amoungst other things).  systemd-resolved
is (supposedly) configured to use read nameserers as needed.

man systemd-resolved

for more information and how to configure it.

>
> I am not familiar with Linux enough, having questions that:
>
> why does nameserver set up to this address rather than a public DNS such
> as 8.8.8.8?
>
> How to disable it?
>
> what is options edns0?
>
> Thanks.
>
>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
           

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Eliza
In reply to this post by Colin Law

this is the screencut for full resolv.conf:


thanks.

在 2019/8/6 20:44, Colin Law 写道:
On Tue, 6 Aug 2019 at 13:32, Eliza [hidden email] wrote:
Hello,

After installing ubuntu-18.04 I found there are the lines in
/etc/resolv.conf:

nameserver 127.0.0.53
options edns0
Does the file start with these lines or something similar?
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

Colin


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Colin Law
On Tue, 6 Aug 2019 at 13:51, Eliza <[hidden email]> wrote:
>
> this is the screencut for full resolv.conf:

Is the question answered then?

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Mike Marchywka
On Tue, Aug 06, 2019 at 01:55:58PM +0100, Colin Law wrote:
> On Tue, 6 Aug 2019 at 13:51, Eliza <[hidden email]> wrote:
> >
> > this is the screencut for full resolv.conf:
>
> Is the question answered then?

I would ask though why the screenshot insteead of just inserting the
text- that is probably easier to do and read :)

I think there are comment somewhere that you can replcae that( IIRC
a symbolic link,

 ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Apr 10 20:21 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
marchywka@happy:/home/documents/latex/proj/notebook2$ cat  /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

}
with an actual file although I don't when that would get clobbered.
If having problems, I usually just put in a manual "nameserver 8.8.8.8"
which I found on google.

>
> Colin
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--

mike marchywka
306 charles cox
canton GA 30115
USA, Earth
[hidden email]
404-788-1216
ORCID: 0000-0001-9237-455X

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Oliver Grawert
hi,
Am Dienstag, den 06.08.2019, 13:22 +0000 schrieb Mike Marchywka:


>
> I think there are comment somewhere that you can replcae that( IIRC 
> a symbolic link,
>
>  ls -al /etc/resolv.conf
> lrwxrwxrwx 1 root root 29 Apr 10 20:21 /etc/resolv.conf ->
> ../run/resolvconf/resolv.conf
> marchywka@happy:/home/documents/latex/proj/notebook2$
> cat  /etc/resolv.conf
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8)
> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
> OVERWRITTEN
> nameserver 127.0.1.1
>
> }
> with an actual file although I don't when that would get clobbered.
the setup above is created by resolvconf, not by systemd-resolved.

resolvconf was deprecated with 18.04 in ubuntu and update-manager
should have properly trasitioned the machine during upgrade from 16.04
to 18.04 (fresh 18.04 installs indeed only come with systemd-resolved)

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Colin Law
On Tue, 6 Aug 2019 at 14:46, Oliver Grawert <[hidden email]> wrote:

>
> hi,
> Am Dienstag, den 06.08.2019, 13:22 +0000 schrieb Mike Marchywka:
> >
> >
> > I think there are comment somewhere that you can replcae that( IIRC
> > a symbolic link,
> >
> >  ls -al /etc/resolv.conf
> > lrwxrwxrwx 1 root root 29 Apr 10 20:21 /etc/resolv.conf ->
> > ../run/resolvconf/resolv.conf
> > marchywka@happy:/home/documents/latex/proj/notebook2$
> > cat  /etc/resolv.conf
> > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> > resolvconf(8)
> > #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
> > OVERWRITTEN
> > nameserver 127.0.1.1
> >
> > }
> > with an actual file although I don't when that would get clobbered.
>
> the setup above is created by resolvconf, not by systemd-resolved.
>
> resolvconf was deprecated with 18.04 in ubuntu and update-manager
> should have properly trasitioned the machine during upgrade from 16.04
> to 18.04 (fresh 18.04 installs indeed only come with systemd-resolved)

What should we see after the transition?

Colin

>
> ciao
>         oli--
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Oliver Grawert
hi,
Am Dienstag, den 06.08.2019, 14:49 +0100 schrieb Colin Law:
>
> What should we see after the transition?

IIRC (not running 18.04 here, i'm kind of not wanting to give up on
unity :) ) it should be a symlink pointing to:

/run/systemd/resolve/stub-resolv.conf

with the content eliza posted ...

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

ubuntu-users mailing list
In reply to this post by Mike Marchywka
On Tue, 6 Aug 2019 13:22:19 +0000, Mike Marchywka wrote:
>I think there are comment somewhere that you can replcae that( IIRC
>a symbolic link, [snip] with an actual file

IIRC I needed to do this, to use systemd-nspawn without the '--boot'
option [1], but apart from such an unusual case the link against run/
shouldn't matter and the content of the file likely gets automatically
overwritten [2], if it's a link to a file or a file.

[1]
[rocketmouse@archlinux ~]$ head -2 /mnt/moonstudio/etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
[rocketmouse@archlinux ~]$ ls -l /mnt/moonstudio/etc/resolv.conf
-rw-r--r-- 1 root root 94 Aug  5 23:08 /mnt/moonstudio/etc/resolv.conf
[rocketmouse@archlinux ~]$ cat /mnt/moonstudio/etc/resolv.conf
# Generated by resolvconf
domain localdomain
nameserver 192.168.1.1
nameserver fe80::1%enp3s0
[rocketmouse@archlinux ~]$ head -2 /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
[rocketmouse@archlinux ~]$ ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 94 Aug  5 23:08 /etc/resolv.conf
[rocketmouse@archlinux ~]$ cat /etc/resolv.conf
# Generated by resolvconf
domain localdomain
nameserver 192.168.1.1
nameserver fe80::1%enp3s0

[2]
"Normally  the  resolvconf  program is run only by network interface
configuration programs such as ifup(8),  ifdown,  NetworkManager(8),
dhclient(8),  and  pppd(8);  and  by  local nameservers  such  as
dnsmasq(8).  These programs obtain nameserver information from some
source and push it to resolvconf."
- http://manpages.ubuntu.com/manpages/xenial/man8/resolvconf.8.html

Let alone that Colin already posted
"# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
 #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN"

So even if it's not in run/, a tmpfs that gets deleted at shutdown, the
content will be overwritten.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Mike Marchywka
On Tue, Aug 06, 2019 at 04:15:01PM +0200, Ralf Mardorf via ubuntu-users wrote:

> On Tue, 6 Aug 2019 13:22:19 +0000, Mike Marchywka wrote:
> >I think there are comment somewhere that you can replcae that( IIRC
> >a symbolic link, [snip] with an actual file
>
> IIRC I needed to do this, to use systemd-nspawn without the '--boot'
> option [1], but apart from such an unusual case the link against run/
> shouldn't matter and the content of the file likely gets automatically
> overwritten [2], if it's a link to a file or a file.
>
> [1]
> [rocketmouse@archlinux ~]$ head -2 /mnt/moonstudio/etc/os-release
> NAME="Ubuntu"
> VERSION="16.04.6 LTS (Xenial Xerus)"
> [rocketmouse@archlinux ~]$ ls -l /mnt/moonstudio/etc/resolv.conf
> -rw-r--r-- 1 root root 94 Aug  5 23:08 /mnt/moonstudio/etc/resolv.conf
> [rocketmouse@archlinux ~]$ cat /mnt/moonstudio/etc/resolv.conf
> # Generated by resolvconf
> domain localdomain
> nameserver 192.168.1.1
> nameserver fe80::1%enp3s0
> [rocketmouse@archlinux ~]$ head -2 /etc/os-release
> NAME="Arch Linux"
> PRETTY_NAME="Arch Linux"
> [rocketmouse@archlinux ~]$ ls -l /etc/resolv.conf
> -rw-r--r-- 1 root root 94 Aug  5 23:08 /etc/resolv.conf
> [rocketmouse@archlinux ~]$ cat /etc/resolv.conf
> # Generated by resolvconf
> domain localdomain
> nameserver 192.168.1.1
> nameserver fe80::1%enp3s0
>
> [2]
> "Normally  the  resolvconf  program is run only by network interface
> configuration programs such as ifup(8),  ifdown,  NetworkManager(8),
> dhclient(8),  and  pppd(8);  and  by  local nameservers  such  as
> dnsmasq(8).  These programs obtain nameserver information from some
> source and push it to resolvconf."
> - http://manpages.ubuntu.com/manpages/xenial/man8/resolvconf.8.html
>
> Let alone that Colin already posted
> "# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
>  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN"
>
> So even if it's not in run/, a tmpfs that gets deleted at shutdown, the
> content will be overwritten.

It sounds liks this changed alot from 16 to 18 and can't remember which I saw
where :) Your illustration also appears to include IPV6. Given how fast
this stuff is changing it may be worthwhile to consult reference works
or release notes or something if you have to dig into it.

>
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--

mike marchywka
306 charles cox
canton GA 30115
USA, Earth
[hidden email]
404-788-1216
ORCID: 0000-0001-9237-455X

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Colin Law
In reply to this post by Oliver Grawert
On Tue, 6 Aug 2019 at 15:04, Oliver Grawert <[hidden email]> wrote:

>
> hi,
> Am Dienstag, den 06.08.2019, 14:49 +0100 schrieb Colin Law:
> >
> > What should we see after the transition?
>
> IIRC (not running 18.04 here, i'm kind of not wanting to give up on
> unity :) ) it should be a symlink pointing to:
>
> /run/systemd/resolve/stub-resolv.conf
>
> with the content eliza posted ...

Mine was upgraded to 18.04 and then 18.10 but is still showing a link to
../run/resolvconf/resolv.conf
with the expected content.  Does it matter that it is linked to a
different file?

Colin L.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Oliver Grawert
hi,
Am Dienstag, den 06.08.2019, 16:15 +0100 schrieb Colin Law:

> Mine was upgraded to 18.04 and then 18.10 but is still showing a link
> to
> ../run/resolvconf/resolv.conf
> with the expected content.  Does it matter that it is linked to a
> different file?
>
well, it means you use a now unsupported resolver mechanism ...

https://launchpad.net/ubuntu/+source/resolvconf

resolvconf was moved to universe on the path to 18.04
if you have not been transitioned, this sounds like a update-manager
bug ...

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Colin Law
On Tue, 6 Aug 2019 at 16:50, Oliver Grawert <[hidden email]> wrote:

>
> hi,
> Am Dienstag, den 06.08.2019, 16:15 +0100 schrieb Colin Law:
> >
> > Mine was upgraded to 18.04 and then 18.10 but is still showing a link
> > to
> > ../run/resolvconf/resolv.conf
> > with the expected content.  Does it matter that it is linked to a
> > different file?
> >
> well, it means you use a now unsupported resolver mechanism ...
>
> https://launchpad.net/ubuntu/+source/resolvconf
>
> resolvconf was moved to universe on the path to 18.04
> if you have not been transitioned, this sounds like a update-manager
> bug ...

OK, thanks.
I have another machine that has also be upgraded through many versions
and it is also using resolvconf apparently.
Two questions I suppose, should I report a bug, or is it so long since
I upgraded that it is too late?
What should I do to move over to systemd-resolved if I decide to do
that?  I am a bit reticent as it is all working now and I don't want
to mess anything up.

Cheers

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Chris Green
In reply to this post by Mike Marchywka
For what it's worth I have several xubuntu systems, some 18.04 and
some 19.04.  On all of them the *contents* of /etc/resolv.conf are:-

    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    # 127.0.0.53 is the systemd-resolved stub resolver.
    # run "systemd-resolve --status" to see details about the actual nameservers.

    nameserver 127.0.0.53
    search zbmc.eu

... and in all cases it's a link as follows:-

    lrwxrwxrwx 1 root root 29 Jan 18  2015 /etc/resolv.conf -> ../run/resolvconf/resolv.conf

Notice the date on this file, 2015 (and one of the others was even
2014).  By the way zbmc.eu is the domain name of my system as seen
from the outside world.

--
Chris Green

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Tom H-4
In reply to this post by Eliza
On Tue, Aug 6, 2019 at 2:32 PM Eliza <[hidden email]> wrote:


> After installing ubuntu-18.04 I found there are the lines in
> /etc/resolv.conf:
>
> nameserver 127.0.0.53
> options edns0
>
> I am not familiar with Linux enough, having questions that:
>
> why does nameserver set up to this address rather than a public DNS such
> as 8.8.8.8?

Ubuntu chose a few versions ago to have a forwarding name server on
its systems. It used to be resolvconf and it's now systemd-resolve.


> How to disable it?

Why?

If you really want to change this, you can edit "/etc/netplan/*" and add

            nameservers:
                nameservers: [8.8.8.8

to, for example,

network:
    version: 2
    renderer: networkd
    ethernets:
        eth0:
            addresses: [192.168.0.111/24]
            gateway4: 192.168.0.1


> what is options edns0?

It enables you to receive extended dns properties if your system can
understand them.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Tom H-4
In reply to this post by Colin Law
On Tue, Aug 6, 2019 at 5:18 PM Colin Law <[hidden email]> wrote:

> On Tue, 6 Aug 2019 at 15:04, Oliver Grawert <[hidden email]> wrote:
>> Am Dienstag, den 06.08.2019, 14:49 +0100 schrieb Colin Law:
>> >
>> > What should we see after the transition?
>>
>> IIRC (not running 18.04 here, i'm kind of not wanting to give up
>> on unity :) ) it should be a symlink pointing to:
>>
>> /run/systemd/resolve/stub-resolv.conf
>>
>> with the content eliza posted ...
>
> Mine was upgraded to 18.04 and then 18.10 but is still showing a
> link to ../run/resolvconf/resolv.conf with the expected content.
> Does it matter that it is linked to a different file?

It's OK for "/etc/resolv.conf" to be symlinked to
"/run/resolvconf/resolv.conf" if resolvconf is installed and running.

Given that Ubuntu's now defaulting to systemd-networkd, make sure that
the latter's started and created
"/run/systemd/resolve/stub-resolv.conf" then symlink
"/etc/resolv.conf" to it, and uninstall resolvconf.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Tom H-4
In reply to this post by Oliver Grawert
On Tue, Aug 6, 2019 at 5:50 PM Oliver Grawert <[hidden email]> wrote:

> Am Dienstag, den 06.08.2019, 16:15 +0100 schrieb Colin Law:
>>
>> Mine was upgraded to 18.04 and then 18.10 but is still showing a
>> link to ../run/resolvconf/resolv.conf with the expected content.
>> Does it matter that it is linked to a different file?
>
> well, it means you use a now unsupported resolver mechanism ...
>
> https://launchpad.net/ubuntu/+source/resolvconf
>
> resolvconf was moved to universe on the path to 18.04 if you have
> not been transitioned, this sounds like a update-manager bug ...

Shouldn't this have been in the release notes?

https://wiki.ubuntu.com/CosmicCuttlefish/ReleaseNotes

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Oliver Grawert
hi,
Am Dienstag, den 06.08.2019, 21:37 +0200 schrieb Tom H:

> > https://launchpad.net/ubuntu/+source/resolvconf
> >
> > resolvconf was moved to universe on the path to 18.04 if you have
> > not been transitioned, this sounds like a update-manager bug ...
> Shouldn't this have been in the release notes?
>
> https://wiki.ubuntu.com/CosmicCuttlefish/ReleaseNotes
>
wrong release notes ;)

"New since 16.04 LTS
The default DNS resolver is systemd-resolved."

https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes

ciao
        oli
--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: resolv.conf questions

Mike Marchywka
In reply to this post by Eliza
Does anyone on the list have a problem with posts going into junk mail?
I'm on hotmail and just found the OP on this topic in junk  :)
I've got entire lists going into junk but mostly random posts.

And to answer your question, obviously you would prefer local
resolution rather than going far far away to get a name lookup.
However the locals don't always work well.

________________________________________
From: ubuntu-users <[hidden email]> on behalf of Eliza <[hidden email]>
Sent: Tuesday, August 6, 2019 8:29 AM
To: [hidden email]
Subject: resolv.conf questions

Hello,

After installing ubuntu-18.04 I found there are the lines in
/etc/resolv.conf:

nameserver 127.0.0.53
options edns0

I am not familiar with Linux enough, having questions that:

why does nameserver set up to this address rather than a public DNS such
as 8.8.8.8?

How to disable it?

what is options edns0?

Thanks.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
1234