Zone Transfer Nmap
The script sends an AXFR query to a DNS server.
Zone transfer nmap. The dns-zone-transferport argument is optional and can be used to specify the DNS. Will try toperform a zone transfer against every authoritative name server and if this doesntwork will launch a dictionary. Finds the domain names for a host.
Nmap is a common tools that been used for Penetration Testing during Information Gathering activity. The configuration checks are divided into categories which each have a number of different tests. Usually a zone transfer is a normal operation between primary and secondary DNS servers in order to synchronise the records for a domain.
Firewalls Router ACLs and other factors can impact a network based connection. Nmap scan and use the defined DNS server in the arguments. Checks DNS zone configuration against best practices including RFC 1912.
The script arguments in this phase are. Nmap zone transfer scan. Try zone transfer without domain.
The command that be used here would something like follows. Nmap --script dns-zone-transfer --script-args dns-zone-transferdomainzonetransferme -p 53 -Pn dig short zonetransferme NS head -1 Starting Nmap 602 httpnmap. A zone transfer that is from an external IP address is used as part of an attackers reconnaissance phase.
11182010 DNS Zone Transfer update - Nmap Besides using the command line CLI to detect or check if a particular domain name its name server suffers from poor configuration and caused dns zone trasfer nmap with its built-in script can do the same thing. An Penetration Tester can use nmap to verify DNS Zone Transfer by using the script as shown below. Here is the sample.
