DNS/dig: Difference between revisions

From Omnia
< DNS
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 17: Line 17:
IPv6 Reverse Lookup:
IPv6 Reverse Lookup:
  dig -x 2607:f8b0:4005:800::100e
  dig -x 2607:f8b0:4005:800::100e
== Install ==
apt install dnsutils


== keywords ==
== keywords ==

Latest revision as of 05:57, 4 February 2024

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

Install

apt install dnsutils

keywords