ziollek / gathersrv

CoreDNS plugin to gather DNS responses with SRV records from several domains and hide them behind a single domain
Apache License 2.0
5 stars 1 forks source link

Delivering the first nonempty response #5

Open ziollek opened 2 years ago

ziollek commented 2 years ago

Description

The aim of this issue is to provide a configuration option that slightly changes gathering response behavior. When a new option is set final response to the client is prepared immediately after receiving the first nonempty response from one forward zone without waiting for responses from other zones. All other requests should be canceled.

Expected behavior

If the option is set client gets rewritten responses from the fastest forward zone.

gfelixc commented 2 years ago

@ziollek Can you assign me this?

ziollek commented 2 years ago

Sure @gfelixc , do you have any experience with coredns plugins? If not manual can give you some insights.