Linux/DNS

From Wiki
< Linux
Revision as of 08:49, 8 April 2019 by Marcluer (talk | contribs)

host

nslookup

dig

  • install
apt install dnsutils
  • Basic query
dig google.com
  • Query all record types
dig google.com ANY
  • Query specific DNS server
dig google.de @8.8.8.8
  • Reverse DNS lookup
dig -x 193.99.144.80
  • Trace DNS path
dig google.com +trace