When read /etc/resolv.conf
:
me@alpha:~$ cat /etc/resolv.conf | tail -3
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
I got the idea of DNS from The Internet: IP Addresses & DNS - YouTube and aware that DNS is Google Public DNS - Wikipedia
How could the default namesever is a localhost address? I guess it impossible accessing to external services.
/etc/resolv.conf
only. That file is part of a dynamic system, the details of which depend on the exact version of Ubuntu that you use. See for example What is the proper way to change the DNS IP?. Other questions on AU also refer to the same theme. – Marc Vanhoomissen Jan 18 '19 at 09:02