nameservers

Python lookup hostname from IP with 1 second timeout

Python lookup hostname from IP with 1 second timeout Question: How can I look up a hostname given an IP address? Furthermore, how can I specify a timeout in case no such reverse DNS entry exists? Trying to keep things as fast as possible. Or is there a better way? Thank you! Asked By: ensnare …

Total answers: 2