Turn 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 show you how to turn off systemd-resolved.

Turn off systemd-resolved

Run the following commands to disable the resolved service:

# systemctl disable systemd-resolved
# systemctl stop systemd-resolved

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.

You now know how to turn off systemd-resolved!

For more great article checkout AdminTome Blog.


I hope you have enjoyed this article, if so please leave a comment below.  For more articles, please signup for the AdminTome Blog below.  Also please feel free to share the article to your friends using the buttons to the left.  Thanks again for reading this post.