How to see the CURRENT DNS resolver Ubuntu is using

In spite of what’s in /etc/resolv.conf, you might be using something else.

Try this:

resolvectl status

or

systemd-resolve --status

It does the same thing.

Reference

Tags

Share this article

Leave a Reply

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

Scroll to Top