Find UNIX & Linux DNS Entries

The Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide.

1. To find the DNS entries in UNIX and Linux operating system, use the below command,

# more /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

If nothing appear, it means the system is not configured with the DNS.

You May Also Like

Leave a Reply?