Forrest logo
back to the dnsrecon tool

dnsrecon:tldr:6f32b

dnsrecon: Scan a domain, specifying the nameserver and performing a zone transfer.
$ dnsrecon --domain ${example-com} --name_server ${nameserver-example-com} --type axfr
try on your machine

This command is using the "dnsrecon" tool to perform a DNS reconnaissance scan. Let's break down the command and its components:

  • dnsrecon: This is the name of the tool that is being invoked to perform the DNS reconnaissance scan.

  • --domain ${example-com}: This option specifies the domain name that will be scanned. In this case, "${example-com}" should be replaced with the actual domain name that you want to target.

  • --name_server ${nameserver-example-com}: This option is used to specify the name server for the target domain. The "${nameserver-example-com}" should be replaced with the actual name server that you want to use for the DNS scan.

  • --type axfr: This option indicates the type of DNS record transfer that will be performed. AXFR (short for "Authoritative Transfer") is a DNS zone transfer method used to replicate DNS records between DNS servers. By specifying this option, the command sets the type of transfer to AXFR.

In summary, this command will use the dnsrecon tool to perform a DNS reconnaissance scan on a specific domain, using a particular name server, and requesting the transfer of DNS records using the AXFR method.

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 dnsrecon tool