What DNS Servers is my Ubuntu system using?

It’s not so simple as “cat /etc/resolv.conf” anymore. DNS is now handled by¬†systemd-resolved in Ubuntu and Debian and their derivatives. This is easy to spot if you do check resolv.conf and it contains “nameserver”. The correct command now is “systemd-resolve –status”.


Leave a Reply

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