I tried speeding up DNS lookup in Ubuntu 17.04 and followed the instructions from the second post here: Ubuntu 17.04 systemd-resolved DNS lookups randomly fail
Result: once I reboot name resolution does not work at all:
ping www.google.com
ping: www.google.com: Temporary failure in name resolution
Everything works after I type
sudo systemctl restart systemd-resolved
How to fix this? Having to type this command after each reboot is less than ideal.