DNS/dig

From Omnia
< DNS
Revision as of 20:16, 21 June 2021 by Kenneth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

keywords