Ubuntu: Determine DNS addresses via terminal
by admin on Dec.01, 2010, under Linux (Ubuntu)
Recently I needed to find out the DNS addresses used by my server. I used the following command in order to accomplish what I wanted to do:
cat /etc/resolv.conf