Linux/DNS: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
* Query specific DNS server | * Query specific DNS server | ||
<pre>dig google.de @8.8.8.8 | <pre>dig google.de @8.8.8.8</pre> | ||
* Reverse DNS lookup | * Reverse DNS lookup |
Revision as of 08:49, 8 April 2019
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