Quickly Find Out DNS Server IP Addresses From Linux Mint / Ubuntu Command Line
April 10, 2012
It is useful to know what DNS server IP addresses are being used by the system for troubleshooting as well as for reference.
Here is how to quickly get this information using the Linux Mint/Ubuntu terminal :
Open Terminal and type :
[cc lang=”bash”]
cat /etc/resolv.conf
[/cc]
This will display the IP addresses of DNS servers that are being used. What the above command does is really just list the contents of a file named resolv.conf which contains the DNS server info.The same file can be quickly edited to add or remove DNS server IP addresses using any of text editor like gedit or vi.
Cheers.
Related Posts
How To Change System Alert Sound In Ubuntu
How To Configure Your Time Zone From Terminal In Linux Mint / Ubuntu
How To Create A Bootable USB Using LinuxLive USB Creator
About The Author
admin
One Comment
