Ubuntu 18.04でsyslogをみると
Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
みたいなログが出ているのだが、systemd-resolvedが名前解決をできていないらしい。
# rm /etc/resolv.conf # ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf # systemctl restart systemd-resolved.service
としておくと良い。