Turning off systemd-resolved

SystemD’s implementation of resolved works well enough if you don’t have a lab or internal DNS servers like I have.  I have found that it is easiest to manage DNS on Ubuntu if you disable resolved entirely.  This post will walk you through the process.

Disable the resolved Service

Run the following commands to disable the resolved service:

# systemctl disable systemd-logind

# systemctl stop systemd-logind

Remove the symlinked resolv.conf file

# rm /etc/resolv.conf

And finally create your new resolv.conf file

# emacs /etc/resolv.conf

Add in your DNS servers and search domain:



search admintome.home

Save the file and you’re done.


%d bloggers like this: