Skip to content

Support strict order for upstreams (fallback DNS servers) #3701

Description

@timkgh

I use 2 upstreams from different providers, Cloudflare and Quad9. Cloudflare is fast from my location, Quad9 is about 2x slower. So I'd like to use Cloudflare all the time, unless it's unavailable (which happened before). When it's not available I'd like AGH to switch to the second provider (Quad9 in this case), then periodically check the first provider and switch back to it when it is available again.

For now I can use parallel queries but it seems wasteful and also don't want both providers to have a log of my queries all the time.

This is somewhat related to #3672, if the load balancing feature worked correctly it would be close to equivalent to strict order, unless someone wanted the slower upstream to be the main one.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions