okTurtles / dnschain

A blockchain-based DNS + HTTP server that fixes HTTPS security, and more!
https://okturtles.com
Other
1.74k stars 169 forks source link

Refine DNS rule for bottleneck #107

Open taoeffect opened 9 years ago

taoeffect commented 9 years ago

For now we're solving #103 with a slightly imperfect solution of looking at first character of subdomain.

A "perfect" solution to the problem that @SGrondin said to put on TODO is the following:

keep track of how many subdomains are being queried on that domain

then throttle each domain by the number of subdomains that have been queried. For example, citizenswebforum.com had like at least 50 subdomains iterated over in short period, then throttle everything going to citizenswebforum.com

(obviously treat all subdomain levels as a single subdomain, i.e. asdf.www should logically be treated as one subdomain, not two)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7918764-refine-dns-rule-for-bottleneck?utm_campaign=plugin&utm_content=tracker%2F528702&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F528702&utm_medium=issues&utm_source=github).