nslookup (Name Server Lookup) is a command-line tool used to query DNS (Domain Name System) servers and retrieve information about domain names, IP addresses, and DNS records.
It is mainly used for DNS troubleshooting, network analysis, and information gathering during reconnaissance.
During cybersecurity reconnaissance, nslookup helps security professionals understand a target's DNS infrastructure, identify associated services, and verify DNS information discovered through other tools.
The basic nslookup command is used to query DNS information for a domain name.
It retrieves the IP address associated with the domain by sending a DNS query to the configured DNS resolver.
nslookup <domain>