Quantcast
Channel: Developer Feed - Unix
Viewing all articles
Browse latest Browse all 10

How to find out the DNS servers IP address in Unix?

$
0
0

Answer

In order to find the DNS server address type following command as shell prompt:

$ cat /etc/resolv.conf

OR

$ less /etc/resolv.conf

Output

domain hsd1.ca.comcast.net.
nameserver 192.168.0.1


Viewing all articles
Browse latest Browse all 10

Trending Articles