systemd-resolvedを使わないようにする
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo rm -f /etc/resolv.conf
NetworkManager.confの[main]にdns=defaultを加えて、NetworkManagerサービスを再起動します
vi /etc/NetworkManager/NetworkManager.conf
[main]
dns=default
sudo systemctl restart NetworkManager
cat /etc/resolv.conf
nslookup deskmini.ckenko25.lan
コメント