Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to use the NSLOOKUP command in Linux & Windows || NSLOOKUP Command tutorial

How to Use the NSLOOKUP Command in Linux or Windows ?

NSLOOKUP is a command that performs DNS lookup by querying name servers and displaying the result to you.
Before using this tool, you should be familiar with how DNS works. The nslookup command-line tool is available in Windows & Linux OS.
This command lets you ask questions about websites, DNS Server and its records and how they’re connected. You can use it to:
• Look up a website’s address- DNS server records : Just like looking up a phone number in a phonebook, you can use nslookup to find the IP address of a website, DNS server records
• Troubleshoot problems: If you’re having trouble accessing a website, DNS Server, nslookup can help you pinpoint where the issue might lie.
• Learn more about domain configurations: By using nslookup, you can discover details about a website’s domain, such as the servers responsible for managing it.
In this tutorial, you’ll find all the basic uses of the command you should know in the Linux/Windows operating system for Queyring a DNS SERVER

• This command looks up the IP addresses for the domain name uu.se on the DNS name server at 1.1.1.1
nslookup uu.se 1.1.1.1
• To specify options, you can use nslookup – option. For example, this command turns on the nslookup debug option to get more information about packets sent.
nslookup -debug uu.se

• To return certain types of records or information, use the -type=resourcerecordtype option. For example, this command returns only IPv6 record types:
nslookup -type=AAAA uu.se

• You can combine options and resource record type queries in command lines. The following example enables debug output, retrieves both IPv6 and IPv4 addresses, doesn’t attempt to use the search domain, uses recursive lookup, and uses the 1.1.1.1 DNS lookup server:
nslookup -debug -type=A+AAAA -nosearch -recurse uu.se 1.1.1.1

nslookup – 1.1.1.1

nslookup -type=A uu.se
nslookup -type=NS uu.se
Lookup MX record:
nslookup -type=MX uu.se
nslookup -query=mx uu.se
Lookup CNAME record:
nslookup -type=CNAME uu.se
Lookup TXT record:
nslookup -type=TXT uu.se

nslookup -type=SOA uu.se
nslookup -type=PTR 8.8.8.8
nslookup -type=any uu.se
nslookup uu.se 8.8.8.8
nslookup 8.8.8.8
nslookup -type=ptr 8.8.8.8

How to Install and Configure DNS Server in Ubuntu (Linux)

Watch Video – How to Configure Primary & Slave DNS

https://youtu.be/3CNZOIOCceI

Watch VIDEO : Primary & Slave DNS Server Configuration step by step

Watch Video : Bind 9 Configuration Full primary and Secondary DNS

How to use DIG command to lookup DNS Records

How to use NSLOOKUP

source

by OM Computer Networking LAB

linux web server

2 thoughts on “How to use the NSLOOKUP command in Linux & Windows || NSLOOKUP Command tutorial

Comments are closed.