|  | %!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| LICENSE | %!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 | |
| example_test.go | %!s(int64=7) %!d(string=hai) anos | |
| setup.go | %!s(int64=8) %!d(string=hai) anos | |
| setup_test.go | %!s(int64=7) %!d(string=hai) anos | 
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.