Edit:
sudo vi /etc/systemd/resolved.conf
Add:
DNS=1.1.1.1 8.8.8.8FallbackDNS=8.8.4.4
Restart the service:
sudo service systemd-resolved restart
Check lookup and ping.
nslookup www.google.comping www.google.com
It appears that the systemd-resolved service has to be restarted after login for this to be effective.
Comments
Post a Comment