Description

  • Domain Name System (DNS) resolves computer names to IP addresses

Port

  • port 53 for both TCP and UDP

Interaction / Commands

zone transfer

dig axfr host_name @IP_Address
dig axfr internal.host_name @IP_Address

subdomain bruteforcing using DNSenum

dnsenum --dnsserver IP_Address --enum -p 0 -s 0 -o subdomains.txt -f security_list host_name

Footprinting

dig any host_name @IP_Address