A Domain Name System (DNS) server is responsible for translating human-readable domain names (like www.example.com) into IP addresses (like 192.0.2.1) that computers can understand. When you type a domain name into your web browser, your computer sends a request to a DNS server to look up the IP address of the website you’re trying to visit. The DNS server then returns the IP address to your computer, which can then connect to the website.
There are a few different ways to check your DNS server. One way is to use the nslookup command in a terminal window. To do this, open a terminal window and type the following command: