Change dns server on ubuntu 20.04
sudo vim /etc/resolv.conf
sudo systemctl disable --now systemd-resolved
sudo vim /etc/NetworkManager/NetworkManager.conf
repleace dns with none
sudo systemctl restart NetworkManager
sudo reboot
sudo vim /etc/resolv.conf
sudo systemctl disable --now systemd-resolved
sudo vim /etc/NetworkManager/NetworkManager.conf
repleace dns with none
sudo systemctl restart NetworkManager
sudo reboot