mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-31 07:30:22 +00:00
openconn() arms a 60-second alarm before DNS resolution and TCP connect, but never clears it after the connection succeeds. The timer persists through the entire response-reading loop in query_server(), causing premature timeout on slow connections or large whois responses. Call alarm(0) before returning from openconn() so the alarm only covers connection establishment.
In 1999 I wrote this Whois client from scratch because the alternatives were obsolete or bloated. This client is intelligent and can automatically select the appropriate whois server for most queries. The internal database is often more accurate than IANA's published one, but please send me any information you have regarding domains and network resources which are not correctly handled by the program. Because of historical reasons this package also contains the mkpasswd program, which can be used to encrypt a password with crypt(3). The canonical distribution point for releases of the program is https://ftp.debian.org/debian/pool/main/w/whois/ . Useful information sources: - https://www.ripe.net/ripe/docs/current-ripe-documents/ripe-database-documents - https://www.iana.org/domains/root/db/ - https://www.icann.org/en/resources/idn/fast-track/string-evaluation-completion - https://www.aftld.org/ Marco d'Itri <md@linux.it>
Description
Languages
C
79.5%
Roff
8.9%
Makefile
5.1%
Perl
4.2%
Shell
1.6%
Other
0.7%