[Twisted-Python] async hostname resolution

Glyph Lefkowitz glyph at twistedmatrix.com
Sat Nov 23 11:31:21 MST 2002


On Sat, 23 Nov 2002 14:54:16 +0100, Christopher Armstrong <radix at twistedmatrix.com> wrote:
> And if it supported /etc/hosts? :)

/etc/hosts.  Windows registry keys pointing at DNS servers.  ZoneAlarm.
Potentially there are wacky plug-ins for the system host resolution technique
which use LDAP rather than DNS.  (I don't know if any exist, but there's
nothing to say they couldn't ^_^).  Effectively replacing the system doman name
lookup is tricky, especially on win32.

The twisted.names resolver should probably be on by default in things like web
servers where you've got to do lots of connections and name lookups in a
daemon, though, so having installResolver(x) available for application code
will be useful.

-- 
 |    <`'>    |  Glyph Lefkowitz: Traveling Sorcerer   |
 |   < _/ >   |  Lead Developer,  the Twisted project  |
 |  < ___/ >  |      http://www.twistedmatrix.com      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20021123/42f16765/attachment.sig>


More information about the Twisted-Python mailing list