title: dnsPython - not working
body: <p>Im working on project where i need to test if domains has IPv6 addresses in MX, AAAA records.
  Id like to use Python for script coding. I find out about dnsPython and installed it but it seems not working at all.</p>
  
  <p>when I execute this simple code:</p>
  
  <pre><code>import dns.resolver
  
  answers = dns.resolver.query('dnspython.org', 'MX')
  for rdata in answers:
      print 'Host', rdata.exchange, 'has preference', rdata.preference
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "H:\Python_workspace\Test\Zdroj\bbb.py", line 9, in &lt;module&gt;
      answers = dns.resolver.query('dnspython.org', 'MX')
    File "build\bdist.win32\egg\dns\resolver.py", line 920, in query
    File "build\bdist.win32\egg\dns\resolver.py", line 847, in query
    File "build\bdist.win32\egg\dns\resolver.py", line 692, in _compute_timeout
  dns.exception.Timeout
  </code></pre>
  
  <p>I used to code in Java, but there if was some error during compilation I was able to find out what was wrong thanks to error description, but here im lost, I cant find anything useful from error that i could use to find the mistake.
  It looks like something is missing, or badly installed libraries.</p>