Files
coredns/plugin
Jasper Bernhardt 2e9986c622 Add alternate option to forward plugin (#6681)
Allows the forward plugin to execute the next plugin based on the return code. Similar to the externally mainted alternate plugin https://github.com/coredns/alternate

Based on the idea of chrisohaver@ in #6549 (comment)
Also incoperated the request to rename `alternate` to `next` as an option

I am having issues adding a proper test for functionality. Primarily, I do not know the code base enough and having multiple `dnstest.NewServer` with ResponseWriter does not work. From my testing these are "Singletons'' and only the last defined response writer is used for all servers

Signed-off-by: Jasper Bernhardt <jasper.bernhardt@live.de>
2024-07-01 11:20:12 -04:00
..
2023-08-10 11:06:48 -04:00
2022-07-10 11:06:33 -07:00
2022-05-30 10:29:34 +00:00
2020-11-05 15:02:07 +01:00
2022-07-10 11:06:33 -07:00
2022-07-10 11:06:33 -07:00
2023-04-25 11:24:49 -04:00
2024-03-07 14:24:38 -05:00
2023-08-10 11:06:48 -04:00
2024-03-07 14:24:38 -05:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2022-07-10 11:06:33 -07:00
2020-09-24 18:14:41 +02:00