sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved
/etc/NetworkManager/NetworkManager.confの[main]セクションに次の行を入力します
dns=default
rm /etc/resolv.conf
sudo service network-manager restart
sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved
/etc/NetworkManager/NetworkManager.confの[main]セクションに次の行を入力します
dns=default
rm /etc/resolv.conf
sudo service network-manager restart
コメント