Port 53 - DNS
Enumeration
# Primary DNS check
host <domain name>
host -t ns <domain name>
host -t mx <domain name>
nslookup contoso.com
# Reverse DNS check
host <ip address>
# DNS zone transfer file
## host -l <domain name> <name server>
host -l googlecom ns1.google.com
## dig @<dns server> <domain> axfr
dig @10.10.10.123 friendzone.red axfr
# Automated recons
dnsenum google.com
dnsrecon -d contoso.com
dnsrecon -d active.htb -a -n <IP_DNS> # Zone transferScripts
Active Directory Server
Last updated