|
il y a 7 ans | |
---|---|---|
LICENSE | il y a 7 ans | |
README.md | il y a 7 ans | |
example.go | il y a 7 ans | |
example_test.go | il y a 7 ans | |
setup.go | il y a 7 ans | |
setup_test.go | il y a 7 ans |
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.