Advertisement
xe1phix

Xe1phix-[Host]-Cheatsheet.sh

Sep 21st, 2022 (edited)
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.75 KB | None | 0 0
  1. #!/bin/sh
  2. ##-======================================-##
  3. ##   [+] Xe1phix-[Host]-Cheatsheet.sh
  4. ##-======================================-##
  5.  
  6.  
  7.  
  8. ## ----------------------------------------------------------------------------------------- ##
  9.         host -t ns $Domain                  ## Show name servers
  10.         host -t mx $Domain                  ## Show mail servers
  11.         host -t CNAME $Domain               ## CNAME Records
  12.         host -t SOA $Domain                 ## SOA Records
  13.         host -t TXT $Domain                 ## TXT Records
  14.         host -t DNSKEY $Domain              ## DNSKEY Records
  15.         host -t AXFR $Domain                ## AXFR Records
  16. ## ----------------------------------------------------------------------------------------- ##
  17.         host -l $Domain $NameServer         ## Zone transfer
  18. ## ----------------------------------------------------------------------------------------- ##
  19.         host -C $Domain                     ## SOA Records
  20. ## ----------------------------------------------------------------------------------------- ##
  21.         host -a $Domain                     ## All Query Types
  22.         host -v -t ANY $Domain              ## enables verbose output
  23. ## ----------------------------------------------------------------------------------------- ##
  24.         host -d $Domain                     ## print debugging traces
  25. ## ----------------------------------------------------------------------------------------- ##
  26.         host -4 $Domain                     ## use IPv4 query transport only
  27. ## ----------------------------------------------------------------------------------------- ##
  28.         host -6 $Domain                     ## use IPv6 query transport only
  29. ## ----------------------------------------------------------------------------------------- ##
  30.  
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement