Package: python-dns
Version: 2.3.5-2
Severity: normal
With python-dns from lenny it was possible to query for records in the
root domain (i.e. '.'), but this no longer works. The library
complains that there's an empty label in the question.
Python 2.6.7 (r267:88850, Jul 10 2011, 08:11:54)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import DNS
>>> DNS.DiscoverNameServers()
>>> DNS.Request('.',qtype="SOA").req()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/dist-packages/DNS/Base.py", line 214, in req
m.addQuestion(qname, qtype, Class.IN)
File "/usr/lib/python2.6/dist-packages/DNS/Lib.py", line 478, in addQuestion
self.addname(qname)
File "/usr/lib/python2.6/dist-packages/DNS/Lib.py", line 101, in addname
raise PackError, 'empty label'
DNS.Lib.PackError: empty label
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-dns depends on:
ii python 2.6.7-1 interactive high-level object-orie
ii python2.6 2.6.7-3 An interactive high-level object-o
python-dns recommends no packages.
python-dns suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]