uwhoisd icon indicating copy to clipboard operation
uwhoisd copied to clipboard

Rate limiting

Open Rafiot opened this issue 8 years ago • 0 comments

Some servers will blacklist you if do to many queries. The main one I'm aware of is whois.dns.lu

and I implemented rate limiting that way: https://github.com/Rafiot/uwhoisd/blob/testing/extra/uwhoisd.ini#L1868 https://github.com/Rafiot/uwhoisd/blob/testing/uwhoisd/init.py#L152

whois.dns.lu=1 100 means one query per seconds, 100 per hour

It requires redis so I guess you don't want it in the core implemented that way, but I know I need it in production on my side.

Rafiot avatar Sep 17 '16 20:09 Rafiot