hamachi slow DNS lookup Ubuntu

Edit:
sudo vi /etc/systemd/resolved.conf 

Add: 
DNS=1.1.1.1 8.8.8.8 
FallbackDNS=8.8.4.4 

Restart the service:
 sudo service systemd-resolved restart 

Check lookup and ping.
nslookup www.google.com
ping www.google.com

It appears that the systemd-resolved service has to be restarted after login for this to be effective.

 

Comments