Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4421

Ubuntu server 22.04 how do I determine what DNS server is in use from the command line?

$
0
0

I've already read the link here. I tried this from the accepted answernmcli device statusbut I get this resultsudo: nmcli: command not found.Then I read this link. I tried thissystemd-resolve --status | grep 'DNS Servers'but I get this resultsudo: systemd-resolve: command not found.

Does anyone know a command that will work on 22.04?


Viewing all articles
Browse latest Browse all 4421

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>