|
|
há 7 anos atrás | |
|---|---|---|
| LICENSE | há 7 anos atrás | |
| README.md | há 7 anos atrás | |
| example.go | há 7 anos atrás | |
| example_test.go | há 7 anos atrás | |
| setup.go | há 8 anos atrás | |
| setup_test.go | há 7 anos atrás |
The example plugin prints "example" on every query received. It can be used as documentation for writing external plugins and to test if external plugins compile 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 plugin chain.