Diff for twisted/internet/base.py's resolve() function to make it perform lookups asynchronously using the new stuff in twisted/names/client.py.
I removed the type argument, since it complicates implementation for other reactors, isn't really useful in 99% of cases, and never worked when set to anything other than A (1) anyway. Maybe it should be deprecated first for a while, but I doubt anyone's using it anyway so it may not matter.
Jp