Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

one upstream server and strict.. double queries? #1536

Closed
bcookatpcsd opened this issue Jul 5, 2024 · 2 comments
Closed

one upstream server and strict.. double queries? #1536

bcookatpcsd opened this issue Jul 5, 2024 · 2 comments

Comments

@bcookatpcsd
Copy link

I use NextDNS for upstream filtering.. and my queries seem to have doubled..

So I put dnscrypt-proxy behind blocky to look at the queries better/easier..

And I seem to be getting two lookup requests for each inbound to blocky..

I thought multiple was coming from parallel_best, so I tried strict.. still happens..

[2024-07-05 09:00:22]  INFO server: -> strict:
[2024-07-05 09:00:22]  INFO server:      group: default
[2024-07-05 09:00:22]  INFO server:      upstreams:
[2024-07-05 09:00:22]  INFO server:        - tcp+udp:127.0.0.1:5353
[2024-07-05 09:01:29]   127.0.0.1       play.google.com A       PASS    6ms     a1b2c3-xyz
[2024-07-05 09:01:29]   127.0.0.1       play.google.com A       PASS    6ms     a1b2c3-xyz
[2024-07-05 09:01:30]   127.0.0.1       dns.msftncsi.com        A       PASS    5ms     a1b2c3-xyz
[2024-07-05 09:01:30]   127.0.0.1       dns.msftncsi.com        A       PASS    6ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit.itunes.apple.com HTTPS   PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit.itunes.apple.com HTTPS   PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit.itunes.apple.com A       PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit.itunes.apple.com A       PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit-us-e.edge-itunes-apple.com.akadns.net    HTTPS   PASS    5ms     a1b2c3-xyz
[2024-07-05 09:01:36]   127.0.0.1       fpinit-us-e.edge-itunes-apple.com.akadns.net    HTTPS   PASS    5ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       configuration.ls.apple.com      HTTPS   PASS    7ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       configuration.ls.apple.com      HTTPS   PASS    7ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       configuration.ls.apple.com      A       PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       configuration.ls.apple.com      A       PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       e10499.dsce9.akamaiedge.net     HTTPS   PASS    6ms     a1b2c3-xyz
[2024-07-05 09:01:37]   127.0.0.1       e10499.dsce9.akamaiedge.net     HTTPS   PASS    7ms     a1b2c3-xyz
[2024-07-05 09:01:38]   127.0.0.1       assets.msn.com  A       PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:38]   127.0.0.1       assets.msn.com  A       PASS    9ms     a1b2c3-xyz
[2024-07-05 09:01:38]   127.0.0.1       assets.msn.com  HTTPS   PASS    8ms     a1b2c3-xyz
[2024-07-05 09:01:38]   127.0.0.1       assets.msn.com  HTTPS   PASS    9ms     a1b2c3-xyz

 docker exec -it blocky /app/blocky version
blocky
Version: v0.24
Build time: 20240525-085726
Architecture: amd64
@kwitsch
Copy link
Collaborator

kwitsch commented Jul 5, 2024

If I remember correctly udp+tcp does both requests parallel to increase performance.🤔

But I'm currently not entirely sure about it.🫣

Have to look at the code later on to verify it...

@ThinkChaos
Copy link
Collaborator

Yeah they're done in parallel since v0.23 (released 2024-01-06), see #1302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants