|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
README.md | %!s(int64=7) %!d(string=hai) anos | |
example.go | %!s(int64=7) %!d(string=hai) anos | |
setup.go | %!s(int64=7) %!d(string=hai) anos |
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.
example
example.com {
file example.com.db {
upstream 8.8.8.8
}
example
}
Follow these steps, example should be put relatively early in the middleware chain.