Žiadny popis

John Belamaric 3b9c7b40c1 Merge pull request #2 from chrisohaver/patch-1 7 rokov pred
LICENSE 06a23f27f8 Add license 7 rokov pred
README.md c9dc4122ab middleware -> plugin 7 rokov pred
example.go d9282030ca Add tests and rename middleware to plugin 7 rokov pred
example_test.go d9282030ca Add tests and rename middleware to plugin 7 rokov pred
setup.go fe5e8f02ad Fix for latest coredns 7 rokov pred
setup_test.go d9282030ca Add tests and rename middleware to plugin 7 rokov pred

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.