feat: enable plugins via environment during build (#7310)

* feat: enable plugins via environment during build

Signed-off-by: Colden Cullen <colden@coldencullen.com>

* doc: add note about COREDNS_PLUGINS

Signed-off-by: Colden Cullen <colden@coldencullen.com>

---------

Signed-off-by: Colden Cullen <colden@coldencullen.com>
This commit is contained in:
Colden Cullen
2025-05-20 21:02:52 -07:00
committed by GitHub
parent 1de92ec9dc
commit 82323554ae
2 changed files with 26 additions and 16 deletions

View File

@@ -67,6 +67,8 @@ $ cd coredns
$ make
~~~
> **_NOTE:_** extra plugins may be enabled when building by setting the `COREDNS_PLUGINS` environment variable with comma separate list of plugins in the same format as plugin.cfg
This should yield a `coredns` binary.
## Compilation with Docker