|
7 anos atrás | |
---|---|---|
LICENSE | 7 anos atrás | |
README.md | 7 anos atrás | |
example.go | 7 anos atrás | |
example_test.go | 7 anos atrás | |
setup.go | 7 anos atrás | |
setup_test.go | 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.