Skip to main content

dns

DNS enumeration and lookup operations against Active Directory environments.

Usage


Subcommands

dns dc

Enumerate domain controllers via DNS SRV records.
Queries _ldap._tcp.dc._msdcs.<domain> SRV records using the configured nameserver, resolves hostnames, and stores results in the domain_controllers table.

dns axfr

Attempt a DNS zone transfer (AXFR) against the configured nameserver.
A successful zone transfer dumps all DNS records in the zone. Uses the domain (-d) and nameserver (--ns) from global flags or stored settings.

dns fwd

Forward DNS lookup — resolve a hostname to an IP address.
Uses the configured nameserver (--ns or stored setting). Falls back to the stored target if no argument is given.

dns rev

Reverse DNS lookup — resolve an IP address to a hostname.