Ticket #3998 regression closed fixed
Names module DNS getHostByName error on certain sites
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

