When you will open the terminal window, type the following commands, just do not miss to replace ‘’ with your domain name. The command nslookup shows all DNS records of the domain and below will be provided various nslookup command for the different DNS record types to check using the command line.įor the demonstration, I will use our domain name ‘’. This command will run on almost all operating systems (Windows, Linux, and macOS). The most efficient way to check DNS records of the domain is to use a terminal with the command nslookup.
Get a free domain with an annual web hosting package! Checking DNS records using the command line So in this guide, I will show how to check your current domain DNS records using provided commands and online tools. It means that when you open a website, the DNS records fetch the IP address of the server (there is the domain pointed) and serve the website. For instance, your website is not available (it might be that DNS records are incorrect) or you need to check which DNS records are shown on the internet.ĭomain Name System (DNS) is used to point an incoming website domain toward the IP address of the server. There are many reasons why you might need to check your domain DNS records which are propagated on the internet.