in

LinuxLinux

NSlookup Command Linux: Essential 10+ nslookup Command Examples

NSlookup command usages with examples

NSLOOKUP command in Linux

N

slookup command: NSLookup Command is one of the essential command for Linux. NS Lookup command allows you view Domain DNS, IP Address & many more. This command is considered as the powerful Network Administration tool allows you obtain the DNS Query, Map the new IP address to the server and many more. In this tutorial, we provided the essential usage of nslookup command with different examples.

Jump To:

Find A Record of a Domain:

With the help of nslookup command, you can easily find the “A” records of your domain. Use the following command:

$nslookup tecrobust.com
nslookup command for A Records
nslookup command for A Records

From the above image, you can able to understand the working of nslookup command to find the A records of a domain.

Find NS of a domain:

NSLOOKUP command allows you to find the NS of a domain. Use the below command:

$nslookup -type=ns tecrobust.com
nslookup command to find NS
nslookup command to find NS

From the above image, nslookup command allows you to find the Name Server of a domain.

Find SOA record of a domain:

NSLOOKUP command allows you to find the SOA record of any domain. You can use this command to find the SOA record of the registered domain. Use the following command:

$nslookup -type=soa tecrobust.com
nslookup command to find SOA Record
nslookup command to find SOA Record

From the above image, nslookup command allows you to find SOA Record of a domain.

Check this too  50+ Linux Command Sheet List for Newbies!

Find MX record of a domain

NSLOOKUP command allows you to find the MX record of any registered domain. Use the following command:

$nslookup -query=mx google.com
nslookup Command to find MX Records
nslookup Command to find MX Records

From the above image, nslookup Command allows finding MX Record of a Domain.

Find available DNS of a domain:

NSLOOKUP command allows you to find the DNS server of a registered domain. Use the following command:

$nslookup -type=any tecrobust.com
nslookup command to find DNS
nslookup command to find DNS

From the above image, nslookup command allows you to find the DNS Server of a domain.

Find the usage of specific DNS Server:

NSLOOKUP command allows you to find the specific DNS server usage for a domain. Use the following command:

$nslookup tecrobust.com lou.ns.cloudflare.com
Check the NS usage
Check the NS usage

From the above image, the nslookup command allows you to find the usage of a specific NS of a domain.

Find the reverse DNS lookup of a domain:

NSlOOKUP command allows you to find reverse DNS lookup of a domain, Use the following command.

$nslookup 172.217.26.206
Reverse DNS Lookup
Reverse DNS Lookup

From the above image, the nslookup command allows you to perform the Reverse DNS Lookup of any domain.

Change the Port Number of a connection:

NSLOOKUP command allows you to find the port number of any connection, Use the following command:

$nslookup -port=56 tecrobust.com
Port Checking using nslookup command
Port Checking using nslookup command

From the above image, the nslookup command allows you to find the port number of any domain.

Changing the Timeout interval of a reply:

NSLOOKUP command allows you to change or alternate the Timeout interval of a reply. Use the following command:

$nslookup -timeout=20 google.com
Alternate Timeout reply
Alternate Timeout reply

From the above image, nslookup command allows you to change the Timeout reply of a domain.

Enable Debug mode using nslookup command:

NSLOOKUP command allows you to debug the any registered domain. Use the following command:

$nslookup -debug tecrobust.com
Domain Debug
Domain Debug

The NSLOOKUP command allows you to debug any registered domain.

Check this too  {12+} Best Snap Ubuntu Apps For Ubuntu 18.04 & Ubuntu 19.04!!

Verdict:

That’s it. The above-mentioned list of “nslookup” commands are the essential Linux command. If you have any queries or suggestions about this article, Kindly mention those in the comment section.

Article Review
  • Article Explanation
  • Images Explanation
  • Commands Provided
  • Examples Provided
4.9

Summary

For more articles, Kindly visit our HomePage

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Julian

Hello Folks! I'm Julian, Promoted to the Content writer for the category of Commands & Web Apps in Tec Robust. Enjoy my content & Learn more Linux Commands!

Contact me:
tecrobust [@] gmail.com
Sub: Message to Julian

FFMPEG 4.2 Released

FFmpeg 4.2 Released: Added Features like AV1 Decoding Support & more.

Discord Ubuntu

How To Install Discord on Ubuntu 18.04 LTS & 19.04