title: Python DNS resolver and original TTL
body: <p>I need to get original TTL for dns record on each query.
  DNS resolver shows original ttl only at first query. It shows time to reset cache on each next query.</p>
  
  <pre><code>&gt;&gt;&gt; answer = dns.resolver.query('www.stackoverflow.com')
  &gt;&gt;&gt; print answer.rrset.ttl
  300
  &gt;&gt;&gt; answer = dns.resolver.query('www.stackoverflow.com')
  &gt;&gt;&gt; print answer.rrset.ttl
  292
  </code></pre>
  
  <p>How can I get original TTL at any query?</p>