DNS/dig

Dig
Verbose lookup: dig www.google.com

Lookup: dig www.google.com +short # IP Only

Reverse Lookup: dig -x 4.2.2.2 +short # Names only (can be multiple)

IPv6
IPv6 Lookup: dig AAAA ipv6.google.com # 2607:f8b0:4005:800::100e

IPv6 Reverse Lookup: dig -x 2607:f8b0:4005:800::100e