Domain Resolver

Disable systemd-resolved
CentOS 7 resolv.conf make changes permanent

Ubuntu use systemd-resolve, to see status, run

On Linux, Domain resolver configuration is stored in

On Ubuntu, it is a symlink.

You can remove the symlink and create your own file if you don’t want it managed by systemctl. You can see systemctl dns resolver deails with command

Disable systemd-resolved

If you want to use old /etc/resolv.conf, you can disable systemd-resolved

On Ubuntu, NetworkManager will update /etc/resolv.conf, to avoid this, edit

Under [main] section, add

Here is what i have on my PC

To configure systemd-resolvd, see Ubuntu Configure systemd-resolved

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *