You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I run my own ODoH infrastructure (Cloudflare Worker relay + modoh-server target) alongside my own DoH server. I want ODoH as the primary protocol and DoH to take over only when ODoH is failing (e.g. during 502s from the target).
I've tried several approaches without success:
lb_strategy = 'first' — doesn't enforce protocol priority, just latency
lb_strategy = 'wp2' — mixes both servers based on performance, DoH often wins since it's faster
Listing ODoH first in server_names — no effect on actual priority
Is there any existing config that allows this? Something like: "always use ODoH, fall back to DoH only if ODoH fails or returns errors".
If this isn't currently possible, would it be feasible to add a fallback option per server or route? Something like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I run my own ODoH infrastructure (Cloudflare Worker relay + modoh-server target) alongside my own DoH server. I want ODoH as the primary protocol and DoH to take over only when ODoH is failing (e.g. during 502s from the target).
I've tried several approaches without success:
lb_strategy = 'first'— doesn't enforce protocol priority, just latencylb_strategy = 'wp2'— mixes both servers based on performance, DoH often wins since it's fasterserver_names— no effect on actual priorityIs there any existing config that allows this? Something like: "always use ODoH, fall back to DoH only if ODoH fails or returns errors".
If this isn't currently possible, would it be feasible to add a
fallbackoption per server or route? Something like:Thanks!
Beta Was this translation helpful? Give feedback.
All reactions