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

Force retry if server responds with SERVFAIL #46

Open
jmthackett opened this issue Apr 10, 2023 · 0 comments
Open

Force retry if server responds with SERVFAIL #46

jmthackett opened this issue Apr 10, 2023 · 0 comments

Comments

@jmthackett
Copy link

Hello!

First of all: this project is great. I came across it from the archlinux wiki and have started running it locally as my ISP appears to block DoT - let 'em try to block this!

I've been using the OpenNIC servers, which can be a touch unreliable. It can take a couple of queries for them to manage to get responses back. I realise this is an issue for them, really, but I'm wondering if doh-client might include configuration for retrying a specific number of queries with a time between them. Something like this:

[[upstream.upstream_ietf]]
    url = "..."
    weight = 50
    retry_attempts = 5
    retry_interval = 1

If it is a non-starter, don't worry - it is on me to choose more reliable servers, or maybe try to contribute to the OpenNIC project to solve my own problem. But if you can help it'd be great.

Cheers
John

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

1 participant