Forrest logo
back to the nslookup tool

nslookup:tldr:20ebe

nslookup: Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol.
$ nslookup -vc -type=AXFR ${example-com} ${name_server}
try on your machine

The "nslookup" command is a network tool used for querying DNS (Domain Name System) to obtain DNS records and information about domain names or IP addresses. The command you provided is:

nslookup -vc -type=AXFR ${example-com} ${name_server}

Here is what each component of the command means:

  1. "nslookup": The command itself, used to initiate the DNS lookup process.

  2. "-vc": This is an option that stands for "VC" or "Verbose Caching." It tells nslookup to display detailed information about the DNS lookup process.

  3. "-type=AXFR": This is another option that specifies the type of DNS record to be retrieved. "AXFR" stands for "Authoritative Transfer" and is used to request a full zone transfer of DNS records from a DNS server.

  4. "${example-com}": This part is a placeholder for the domain name you want to perform the DNS lookup on. You should replace "${example-com}" with the actual domain name, in this case, "example.com".

  5. "${name_server}": Similar to the previous placeholder, this is the name server you want to query for DNS information. Replace "${name_server}" with the IP address or hostname of the name server you want to use. For example, it could be "8.8.8.8" for Google's public DNS server.

Combining all these elements, the command performs a verbose DNS lookup using AXFR as the query type for the specified domain name on the specified name server.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nslookup tool