Breaking News
Home / Sys Admin / Unix / How to find out the DNS servers IP address in Unix?

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

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

[pb_builder]

Check Also

How to list disks information in Linux?

In order to check the disk in the system we can use the List Hardware …

Advertisment ad adsense adlogger