Nslookup, short for "Name Server Lookup," is a command-line tool used to query DNS (Domain Name System) to obtain domain name or IP address information.
Syntax: nslookup [domain] Example: nslookup www.example.com Output: Displays information like IP addresses, authoritative servers, and query times.
Command: nslookup [domain] Use Case: Resolve a domain name to its corresponding IP address. Example: nslookup www.google.com
Command: nslookup [IP address] Use Case: Obtain the domain name associated with a given IP address. Example: nslookup 8.8.8.8
Command: nslookup [domain] [DNS server] Use Case: Allows querying a specific DNS server for information. Example: nslookup www.example.com 8.8.4.4