title: Error While Importing from dnspython
body: <p>I got the following error message while using dnspython. </p>
  
  <pre><code>&gt;&gt;&gt; from dns import resolver
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/local/lib/python3.4/dist-packages/dns/resolver.py", line 32, in &lt;module&gt;
  import dns.flags
  File "/usr/local/lib/python3.4/dist-packages/dns/flags.py", line 51, in &lt;module&gt;
  _by_value = dict([(y, x) for x, y in _by_text.iteritems()])
  AttributeError: 'dict' object has no attribute 'iteritems'
  </code></pre>
  
  <p>Do anybody know how to fix it? I am using python 3.4. Alternatives to dnspython are also welcome answers. </p>