I've seen several posts suggesting using nmcli
, nm-tool
and similarly named utilities for network related tasks. In my case, I was trying to see what DNS my Ubuntu server installation is trying to use since my DNS lookup started failing after switching to static ip.
Here are some of the posts that mention these tools:
- What is my DNS server?
- Command-line to list DNS servers used by my system (Answer 152610)
- Command-line to list DNS servers used by my system (Answer 152611)
All of these assume that the nm
tools are available on all systems, yet they're not on mine. Apparently they are part of NetworkManager
. I haven't found network management on my server particularly difficult out of the box, but perhaps I'm missing something. Should I install NetworkManager?
Here's my Ubuntu server version information:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
dns-nameservers
to my/etc/network/interfaces
file.