Reputation: 66
I am not found in twisted.names.client
method for reverse dns resolution. Is possible to do this with twisted - without blocking (for response time)?
Is blocking the query with socket.gethostbyaddr()
?
Upvotes: 3
Views: 143
Reputation: 31860
Reverse DNS lookups should probably be a built-in part of the API, but they are quite easily implemented as a simple string transformation. In fact, the Twisted documentation uses reverse name lookups as its main way of explaining the client API. Have a look at that linked document and hopefully it answers your question.
Upvotes: 1