-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make maximum upstream querying time configurable #2280
Comments
So you'd like the default timeout to be configurable?
For now, the only one is AdGuard DNS. |
Yeah I’d love to. |
As I recall, by default it is 10 seconds |
yeah, it's terrible to wait for 10 secs for a dns query if one of the upstream servers dead. |
Updates #2280. Squashed commit of the following: commit d8c6aac Merge: 84df492 12f1e4e Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 17:21:41 2021 +0300 Merge branch 'master' into 2280-dns-timeout commit 84df492 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 16:49:41 2021 +0300 home: fix docs & naming commit af44a86 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:55:12 2021 +0300 all: imp docs & tests commit 6ed6599 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:26:22 2021 +0300 home: imp duration tests commit 8fe7cb0 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:04:16 2021 +0300 all: imp code, docs & tests commit a989e8a Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 19:02:23 2021 +0300 WIP commit b0362e2 Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 18:58:09 2021 +0300 all: imp docs & tests commit 64b00fd Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 03:44:29 2021 +0300 home: introduce marshalable duration commit bfb1a57 Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 01:56:10 2021 +0300 all: add upstream timeout setting
@SkyYkb, hello again. Latest builds from |
@EugeneOne1 Thanks for your helpful work. But it doesn't seem to work fine. According to the wiki, I added My version is now at |
Unfortunately, the If the above wouldn't work, could you please try other upstream modes? Thanks. |
For me, adguardhome return no response if I use |
@EugeneOne1 Works fine for me now. Thanks sincerely.@QingKongBaiYu I won't get no response with this configuration... I guess that no server could be reached in the time you limited, so AGH wouldn't return a result. Maybe try a longer limit? |
@SkyYkb, glad to hear that. Thanks for testing. We'll close the issue for now. |
Updates AdguardTeam#2280. Squashed commit of the following: commit d8c6aac Merge: 84df492 12f1e4e Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 17:21:41 2021 +0300 Merge branch 'master' into 2280-dns-timeout commit 84df492 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 16:49:41 2021 +0300 home: fix docs & naming commit af44a86 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:55:12 2021 +0300 all: imp docs & tests commit 6ed6599 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:26:22 2021 +0300 home: imp duration tests commit 8fe7cb0 Author: Eugene Burkov <e.burkov@adguard.com> Date: Tue Jun 15 15:04:16 2021 +0300 all: imp code, docs & tests commit a989e8a Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 19:02:23 2021 +0300 WIP commit b0362e2 Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 18:58:09 2021 +0300 all: imp docs & tests commit 64b00fd Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 03:44:29 2021 +0300 home: introduce marshalable duration commit bfb1a57 Author: Eugene Burkov <e.burkov@adguard.com> Date: Sat Jun 12 01:56:10 2021 +0300 all: add upstream timeout setting
Problem Description
If multiple encrypted DNS added as upstream servers, it's sometimes slow when querying all of specified servers. So sometimes clients resolving hosts with AdGuard Home will throw a timeout to user.
Proposed Solution
Add an option to limit maximum upstream querying time, if time exceeded, just response the record already received to the client.
By the way, are there any public DoQ (DNS over QUIC) servers available now? Seems like this would improve the time of querying upstreams.
Thanks.
The text was updated successfully, but these errors were encountered: