Names module DNS getHostByName error on certain sites
[email protected] Thu, 03 Sep 2009 17:41:02 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from pythonologist <None>:
With the attached program I get this output:
{{{
D:\software\Twisted-trunk\twisted\names\dns.py:1662: DeprecationWarning: Please only pass IPs to write(), not hostnames
self.transport.write(message.toStr(), address)
result: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'stopListening'
D:\software\Twisted-trunk\twisted\internet\udp.py:126:doRead
D:\software\Twisted-trunk\twisted\names\dns.py:1693:datagramReceived
D:\software\Twisted-trunk\twisted\internet\defer.py:238:callback
D:\software\Twisted-trunk\twisted\internet\defer.py:307:_startRunCallbacks
--- <exception caught here> ---
D:\software\Twisted-trunk\twisted\internet\defer.py:323:_runCallbacks
D:\software\Twisted-trunk\twisted\names\common.py:206:<lambda>
]
}}}
Certain domain names appear to return a particular set of DNS records requiring recursion, which does not appear to work properly: one example is www.bbc.co.uk - note that plain bbc.co.uk works fine. Possibly related to #2850.
----------
Type : defect
Component: names
Keywords :
Priority : normal
Nosy :
----------
http://twistedmatrix.com/trac/ticket/3998