Nessuna descrizione

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

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.