caddy icon indicating copy to clipboard operation
caddy copied to clipboard

reverseproxy: SRV dynamic upstream failover

Open mholt opened this issue 1 year ago • 2 comments

This should fix #5816 - if the SRV lookup fails and a GracePeriod is defined, it will continue to use the previously-cached records until the GracePeriod is up, after which it will try again.

@cds2-stripe @jjiang-stripe Feel free to give this a shot -- let me know if I need to rebase this onto another branch.

mholt avatar Sep 21 '23 17:09 mholt

Thanks for this fix @mholt I’m wondering why it’s only for SRV and not A lookups for dynamic upstreams?

kkroo avatar Sep 21 '23 22:09 kkroo

It was only requested for SRV upstreams for the moment. If it for sure works we can easily add it for A upstreams too :+1:

mholt avatar Sep 21 '23 22:09 mholt

This is missing Caddyfile support for the grace_period option

francislavoie avatar Apr 22 '24 09:04 francislavoie