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

🤗 10 sec to resolve at dnscrypt-jp-blahdns-ipv4 #174

Closed yutayu closed 3 years ago

yutayu commented 3 years ago

Question description When I use blahdns-jp-doh, quick to revolve dns. but dnscrypt-jp-blahdns-ipv4 takes around 10 sec to resolve dns.

yutayu commented 3 years ago

I use newest dnscrypt-proxy on Manjaro.

zoonderkins commented 3 years ago

Please try force_tcp = true

yutayu commented 3 years ago

It works as expected, but I want to use udp.lol

zoonderkins commented 3 years ago

Ya, I noticed this issue this few days ago though I'm busy this 2 months. Pls use stubby + DoT or dnscrypt + DoH for better performance.

Note: on Android 11 phone it works fine (AdGuard Pro), takes 2.5 sec on Mac and Linux server via dnscrypt

yutayu commented 3 years ago

@ookangzheng I changed dnscrypt-proxy unbound dot. Never mind. :)

zoonderkins commented 3 years ago

Please try again and let me know. I changed dnscrypt with entire new keys and server-side software

Dnscrypt info: https://github.com/ookangzheng/blahdns/blob/master/client-conf/dnscrypt/dnscrypt-proxy.toml

yutayu commented 3 years ago

[2021-04-29 16:22:19] [WARNING] [dnscrypt-jp-blahdns-ipv4] Incorrect signature for provider name: [2.dnscrypt-cert.blahdns.com.]

I tried. It doesn't work at all.

yutayu commented 3 years ago

[2021-04-29 16:22:19] [WARNING] [dnscrypt-jp-blahdns-ipv4] Incorrect signature for provider name: [2.dnscrypt-cert.blahdns.com.]

I tried. It doesn't work at all.

zoonderkins commented 3 years ago

Again, please. I forgot to update 2.dnscrypt-cert.blahdns.com domain

yutayu commented 3 years ago

dnscrypt-proxy[8604]: [2021-04-29 16:41:27] [WARNING] [dnscrypt-jp-blahdns-ipv4] Incorrect signature for provider name: [2.dnscrypt-cert.blahdns.com.] dnscrypt-proxy[8604]: [2021-04-29 16:41:27] [ERROR] No useable certificate found

It doesn't work at all.

zoonderkins commented 3 years ago

Sorry, please use this configuration instead. It works fine on Mac, Linux.


server_names = ['blahdns-jp-dnscrypt-v4']
listen_addresses = ['127.0.0.1:53', '[::1]:53']
max_clients = 300
force_tcp = false
timeout = 3000
keepalive = 30

# Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random'
lb_strategy = 'p2'
fallback_resolver = '9.9.9.9:53'
ignore_system_dns = true
netprobe_timeout = 30
cache = false
cache_size = 512
cache_min_ttl = 90
cache_max_ttl = 1800
cache_neg_min_ttl = 10
cache_neg_max_ttl = 90

[static]
# Japan Dnscrypt
[static.'blahdns-jp-dnscrypt-v4']
stamp = 'sdns://AQMAAAAAAAAAEzEzOS4xNjIuMTEyLjQ3Ojg0NDMghROpa8Tgg0uVDWO1AujT4tVNBJZrJgKTNOkHHboj_CsbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t'
yutayu commented 3 years ago

Maybe stamp was changed. It works with low latency, Great job and Thanks :)

zoonderkins commented 3 years ago

Ya, the entire DNS Stamp has changed. I submitted a Pull request and waiting for approval which included the latest DNS Stamp.

Sorry for that.

yutayu commented 3 years ago

Never mind :)