display all information

dig <hostname>

add +no<section> to hide info

  • comments
  • authority
  • additional
  • answer
  • stats
dig +nocomments +noadditional <hostname>

use +noall to hide everything, but show answer

dig +noall +answer <hostname>

use a list

dig -f <file> +noall +answer