A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010568.html below:

[Python-Dev] DNS lookups with timeouts ?

[Python-Dev] DNS lookups with timeouts ? [Python-Dev] DNS lookups with timeouts ?M.-A. Lemburg mal@lemburg.com
Sat, 11 Nov 2000 15:05:38 +0100
I am looking for a way to do DNS resolution with a timeout
on the lookup. The easy way to do these lookups using the
socket module often result in processes hanging for several
seconds (up to minutes on Windows), so I figured emulating the
standard DNS lookup (including the /etc/hosts and /etc/resolv.conf
files) would be a good idea.

I know of the Demo/dns/, but I'm unsure whether it can be
tweaked to allow timeouts.

Are there any other such implementations out there ?

Thanks,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4