Cheatsheet: Difference between revisions

Line 1,094:
host -t a google.com
host -t mx google.com
host -t soa cybercitigoogle.bizcom
host -t cname files.cybercitigoogle.bizcom
host -t txt cybercitigoogle.bizcom
host google.com ns2.google.com ==> Query a particular host
host -t any google.com
 
DIG Command:
dig cybercitigoogle.bizcom a
dig cybercitigoogle.bizcom mx
dig cybercitigoogle.bizcom ns
dig cybercitigoogle.bizcom txt
dig @ns1.nixcraftgoogle.netcom cyberciti.biz a
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 ===