Home DNS Getting started with Ubuntu Server Disable systemd-resolve by modifying /etc/systemd/resolved.conf Set DNS to your preferred DNS server (i.e. 8.8.8.8) Set DNSStubListener to no Create symbolic links and reboot $ sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf