zoonderkins / blahdns

A small hobby ads block dns project with doh, dot, dnscrypt support.
https://blahdns.com
GNU Affero General Public License v3.0
437 stars 25 forks source link

Limitation query number per time. #139

Closed yutayu closed 3 years ago

yutayu commented 3 years ago

Question description

subject.

zoonderkins commented 3 years ago

?? What do you mean

yutayu commented 3 years ago

Reguration of this server . queue number limitation per second.
some dns server refuse query like DDoS.

zoonderkins commented 3 years ago

Ya, I will try it out.

yutayu commented 3 years ago

Sorry , I wanted to know server setting. If i got server setting , I will modify my dns server setting. for example , I reduce max-forward-queries of dnsmasq.

zoonderkins commented 3 years ago

Which server are you using? I still investigate on rate limit TCP and UDP

yutayu commented 3 years ago

Japan DNSCrypt v1 or v2. maybe I only use UDP.

zoonderkins commented 3 years ago

DNSCrpyt only has v2. It has tcp and udp.

yutayu commented 3 years ago

Nov 03 13:29:13 raspberrypi dnscrypt-proxy[580]: [2020-11-03 13:29:13] [NOTICE] [dnscrypt-jp-blahdns-ipv4] OK (crypto v1) - rtt: 15ms

Isn't this v1?

zoonderkins commented 3 years ago

Nope, cuz I'm using dnsdist to serve Dnscrypt protocol. https://dnsdist.org/guides/dnscrypt.html

yutayu commented 3 years ago

ok

zoonderkins commented 3 years ago

I try on Japan Server with the following setting

Incoming 60 seconds > 20 connections (parallel) , will drop those packet.

yutayu commented 3 years ago

ok thanks. I set according to that. maybe, max-forward-queries = 2

yutayu commented 3 years ago

It seems smooth.