Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

Resolve DNS Records

Compare Methods

dignslookupPowershell
dig A example.comnslookup example.comResolve-DnsName example.com -Type A
dig AAAA example.comnslookup -q=AAAA example.comResolve-DnsName example.com -Type AAAA
dig CNAME example.comnslookup -q=CNAME example.comResolve-DnsName example.com -Type CNAME
dig MX example.comnslookup -q=MX example.comResolve-DnsName example.com -Type MX
dig TXT example.comnslookup -q=TXT example.comResolve-DnsName example.com -Type TXT
dig -x <IP>nslookup <IP>Resolve-DnsName -Type PTR <IP>
dig SOA example.comnslookup -q=SOA example.comResolve-DnsName example.com -Type SOA
dig NS example.comnslookup -q=NS example.comResolve-DnsName example.com -Type NS
dig -x <IP>nslookup <IP>Resolve-DnsName -Type PTR <IP>
dig @<DNS_server> example.comnslookup example.com <DNS_server>Resolve-DnsName example.com -Server <DNS_server>