#nslookup for looking up IP associated with an DNS
flags / record types:
A: IPv4
AAAA: IPv6
CNAME: record resolves to another name, e.g. store.website.com => shops.shopify.com
MX: mail exchange
TXT: free text field, e.g. list severs that have the authority to send an email on behalf of domain(vs. spam / spoofed email)
>> nslookup --type=A www.website.thm
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: www.website.thm
Address: 10.10.10.10
>> nslookup --type=CNAME shop.website.thm
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
shop.website.thm canonical name = shops.myshopify.com
>> nslookup --type=MX website.thm
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
website.thm mail exchanger = 30 alt4.aspmx.l.google.com