resolv.conf questions
Tom H
tomh0665 at gmail.com
Tue Aug 6 19:26:55 UTC 2019
On Tue, Aug 6, 2019 at 2:32 PM Eliza <eli at chinabuckets.com> 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.
More information about the ubuntu-users
mailing list