Network Manager
Ubuntu desktop uses network manager
nm-tool
nm-tool
by-default, network manager uses dnsmasq as local dns resolver, and current dns servers cannot be find at /etc/resolv.conf.
use nm-tool command to find out dns and other information
nmcli
nmcli
use nmcli command to check and manage network devices and connections