title: ImportError: No module named dns.exception
body: <p>I am trying to use the <a href="http://www.dnspython.org/" rel="nofollow">dnspython</a> in my code but when it gets to the import statement, I get the following error:</p>
  
  <pre><code>&gt;&gt;&gt; import DNS.resolver
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\python27\lib\site-packages\DNS\resolver.py", line 31, in &lt;module&gt;
      import dns.exception
  ImportError: No module named dns.exception
  </code></pre>
  
  <p>I have tried installing with pip, easy_install and manually from the git repo but nothing seems to do the trick. Any ideas??</p>
  
  <p>Code:</p>
  
  <pre><code>import DNS.resolver
  
  if __name__ == "__main__":
  
      domain = 'hotmail.com'
      for x in dns.resolver.query(domain, 'MX'):
          print x.to_text()
  </code></pre>