User Tools

Site Tools


dns:kdig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dns:kdig [2023/01/16 09:09] – created bstafforddns:kdig [2023/01/16 09:10] (current) bstafford
Line 5: Line 5:
 <code>sudo apt install knot-dnsutils</code> <code>sudo apt install knot-dnsutils</code>
  
 +===== KDIG Manual =====
 +[[https://www.knot-dns.cz/docs/latest/html/man_kdig.html|Manual here]].
 ===== Use KDIG ===== ===== Use KDIG =====
  
Line 16: Line 18:
 <code>kdig example.com A|AAAA|NS|SOA|DNSKEY|ANY</code> <code>kdig example.com A|AAAA|NS|SOA|DNSKEY|ANY</code>
  
-Lookup the IP(s) associated with a hostname (A records) using DNS over TLS (DoT):+Lookup the IP(s) associated with a hostname (A records) using **DNS over TLS (DoT)**:
 <code>kdig -d @8.8.8.8 +tls-ca +tls-host=dns.google example.com</code> <code>kdig -d @8.8.8.8 +tls-ca +tls-host=dns.google example.com</code>
  
-Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):+Lookup the IP(s) associated with a hostname (A records) using **DNS over HTTPS (DoH)**:
 <code>kdig -d @1.1.1.1 +https +tls-hostname=1dot1dot1dot1.cloudflare-dns.com example.com</code> <code>kdig -d @1.1.1.1 +https +tls-hostname=1dot1dot1dot1.cloudflare-dns.com example.com</code>
  
dns/kdig.1673860192.txt.gz · Last modified: by bstafford