nameserver ubuntu network configuration

Turn, Original:  https://blog.csdn.net/evanxuhe/article/details/90229597

--------------------------------------------------------

Dns ubuntu system to solve the problem 127.0.0.53 overwrite
the original God He finally released on 2019-05-15 09:31:27 read the number 2674 collection
launched
problem
ubuntu18.04LTS building k8s coredns assembly error
because /etc/resolve.conf in there is nameserver 127.0.0.53 loopback address causing a circular reference
manual modification to no avail, each restart will still cover

The reason
peculiar After ubuntu17.0, systemd-resolvd service would have been covered

Solution to
the sudo systemctl STOP-resolved systemd
the sudo systemctl systemd-resolved disable
the sudo Unbound APT the install
the sudo RM -rf /etc/resolv.conf
the sudo Vim /etc/NetworkManager/NetworkManager.conf
. 1
2
. 3
. 4
. 5
in the [main]
Add the following
dns = unbound
the dns service replaced Unbound
reboot
restart your computer, boot to see resolve.conf found nameserver automatically configure
----------------
Disclaimer: This article is CSDN blogger "He Ye "the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/evanxuhe/article/details/90229597

Guess you like

Origin www.cnblogs.com/oxspirt/p/12326838.html