Cheatsheet: Difference between revisions
Content added Content deleted
Line 1,094: | Line 1,094: | ||
host -t a google.com |
host -t a google.com |
||
host -t mx google.com |
host -t mx google.com |
||
host -t soa |
host -t soa google.com |
||
host -t cname files. |
host -t cname files.google.com |
||
host -t txt |
host -t txt google.com |
||
host google.com ns2.google.com ==> Query a particular host |
host google.com ns2.google.com ==> Query a particular host |
||
host -t any google.com |
host -t any google.com |
||
DIG Command: |
DIG Command: |
||
dig |
dig google.com a |
||
dig |
dig google.com mx |
||
dig |
dig google.com ns |
||
dig |
dig google.com txt |
||
dig @ns1. |
dig @ns1.google.com a |
||
dig @4.2.2.2 google.com soa |
dig @4.2.2.2 google.com soa ==> SOA record |
||
dig +nssearch google.com ==> SOA record |
|||
dig +short google.com ==> only IP address |
|||
dig +noall +answer google.com ==> Just answer line |
|||
dig +noall +answer google.com any ==> Just answers for all records |
|||
=== Misc === |
=== Misc === |