How to set/check my DNS setting on Debian/Ubuntu Linux System?

The DNS server setting for Ubuntu is located on /etc/resolv.conf

$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- 
#     YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8

Leave a Reply

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