A system console is a command-line tool to manage the operating system and perform administrative tasks. One of the most common uses of a system console is to check the nameservers used by a domain.
When you type www.google.com into your browser's address bar, your browser sends a request to the nameserver for www.google.com. The nameserver then looks at its database to find out the IP address for google.com. When it finds the IP address, it returns that information to your browser, which displays the website for Google.
The same goes for any other domain you visit, such as www.yahoo.com. Your computer makes requests for yahoo.com just as it did for google.com. In order to get these requests answered, your computer uses the IP addresses listed on the nameserver's database.
This tutorial will show you how to use the system console to check the nameservers used by a domain on Windows and Linux.
Steps to check the current nameservers for any domain name from a Linux system:
Host command in Linux
Host command is used to perform domain lookup operations. By using the host command, you can check the A record, SOA record, NS record, TXT record, and many other records of the domain.
Dig Command in Linux
A dig command is useful for querying DNS servers for the IP addresses associated with hostnames/domain names. In addition to being able to query DNS servers directly, dig can also query a local cache of DNS server information stored in /etc/hosts. A dig command without any arguments will return information about the current DNS server configuration.