nslookup
nslookup (Name Server Lookup) is a command-line tool for querying DNS servers to obtain domain-related information.
Purpose: nslookup is used to retrieve various DNS records, IP addresses, and domain-related details for troubleshooting and analysis.
Key Features:
Retrieve DNS Records
Obtain IP Addresses
Query Specific DNS Servers
Resolve Hostnames to IP Addresses
Troubleshoot DNS Issues
Examples:
Basic DNS Query:
Performs a basic DNS query for the domain "example.com," displaying information such as the authoritative DNS server and its IP address.
Reverse DNS Lookup:
Conducts a reverse DNS lookup for the IP address 8.8.8.8, providing the corresponding hostname.
Query Specific DNS Server:
Directs the query to a specific DNS server (replace dns.server.ip with the actual IP address of the DNS server).
Resolve IP Addresses to Hostnames:
Resolves the IP address 192.168.1.1 to its corresponding hostname.
MX Record Query for Email Servers:
Retrieves the Mail Exchange (MX) records for the domain "example.com," which indicate email server information.
Resources:
Last updated