DNS - 53

DIG

# NS query
dig ns nothing.htb @10.10.10.10

# ANY query
dig any nothing.htb @10.10.10.10

# AXFR Zone Transfer - Internal
dig axfr internal.nothing.htb @10.10.10.10 

# check zone exists, look for SOA entry
dig SOA @10.10.10.10 nothing.htb

# ZONE TRANSFER USING FIERCE
# LINK : <https://github.com/mschwager/fierce>
fierce --domain zonetransfer.me

Nslookup

# Querying: A Records
nslookup facebook.com

# Querying: A Records for a Subdomain
nslookup -query=A www.facebook.com

# Querying: PTR Records for an IP Address
nslookup -query=PTR 31.13.92.36

# Querying: ANY Existing Records
nslookup -query=ANY google.com

# Querying: TXT Records
nslookup -query=TXT facebook.com

# Querying: MX Records
nslookup -query=MX facebook.com

Brute Forcing Subdomains

Last updated