Sen descrición

John Belamaric 3b9c7b40c1 Merge pull request #2 from chrisohaver/patch-1 %!s(int64=7) %!d(string=hai) anos
LICENSE 06a23f27f8 Add license %!s(int64=7) %!d(string=hai) anos
README.md c9dc4122ab middleware -> plugin %!s(int64=7) %!d(string=hai) anos
example.go d9282030ca Add tests and rename middleware to plugin %!s(int64=7) %!d(string=hai) anos
example_test.go d9282030ca Add tests and rename middleware to plugin %!s(int64=7) %!d(string=hai) anos
setup.go fe5e8f02ad Fix for latest coredns %!s(int64=7) %!d(string=hai) anos
setup_test.go d9282030ca Add tests and rename middleware to plugin %!s(int64=7) %!d(string=hai) anos

README.md

example

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.

Syntax

example

Examples

example.com {
  file example.com.db {
    upstream 8.8.8.8
  }
  example
}

How to Enable

Follow these steps, example should be put relatively early in the plugin chain.