How to use nslookup in Linux

Windows Articles

How to create user template in Windows Server 2019/2016

Hello! Windows Server has many features that support system administration. For example, through the users it is possible to manage many administrative...

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...
Muhammad Nabeel
Muhammad Nabeel
Network and System Administrator

nslookup is a network administration command-line tool available in many computer operating systems for querying the Domain Name System (DNS) to obtain domain name or IP address mapping, or other DNS records information. The name “nslookup” means “name server lookup”

There are many options can be used in nslookup command however we will use some of them in this article.

command syntax

nslookup [option]

nslookup google.com

nslookup -type=a google.com

nslookup with domain name or -type=a will display the A Record (IP Address) of the domain. here google.com is a domain name. Use these commands to find the IP address or A record for a domain.

nslookup 8.8.8.8

If you want to see reverse DNS lookup use IP address with nslookup command

nslookup -type=any google.com

Above command will display all available DNS records of domain google.com

nslookup -type=ns google.com

You can use -type=ns with nslookup command to get Name Servers of the domain.

nslookup -type=mx google.com

MX stands for Mail Exchanger which is email server, run above command to see mail server of a domain.

nslookup -type=txt google.com

TXT records can be used for many purposes like SPF, DKIM, DMARC records etc if you want to see all of them use option -type=txt with nslookup command.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to create user template in Windows Server 2019/2016

Hello! Windows Server has many features that support system administration. For example, through the users it is possible to manage many administrative...

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...