1fb7424a47
Serves both as documentation and to test external middleware compilation. |
||
---|---|---|
alias.go | ||
README.md | ||
setup.go |
example
The example middleware prints "example" on every query received. It can be used as documentation for writing external middleware and to test if external middleware compiles with CoreDNS.
Syntax
example
Examples
example.com {
file example.com.db {
upstream 8.8.8.8
}
example
}
How to Enable
Follow these steps. example should be put relatively early in the middleware chain.