title: How to use dig command of bulk/batch lookups to read hostnames from a text file?
body: <p>I have a text file with 1.txt with  the following set of domains</p>
  
  <pre><code>adrive.com
  amazon.com
  amazon.ca
  amazon.cn
  amazon.co.jp
  amazon.co.uk
  amazon.com.au
  amazon.com.br
  amazon.com.mx
  amazon.de
  amazon.es
  amazon.fr
  amazon.in
  amazon.it
  console.aws.amazon.com
  </code></pre>
  
  <p>I did the following command to get the TXT record of a domain</p>
  
  <pre><code>dig TXT 1.txt 
  </code></pre>
  
  <p>I am not sure,How to do this ? </p>