Keine Beschreibung

Miek Gieben 932108f489 Document and cleanup vor 7 Jahren
LICENSE 06a23f27f8 Add license vor 7 Jahren
README.md d9282030ca Add tests and rename middleware to plugin vor 7 Jahren
example.go 932108f489 Document and cleanup vor 7 Jahren
example_test.go 932108f489 Document and cleanup vor 7 Jahren
setup.go 932108f489 Document and cleanup vor 7 Jahren
setup_test.go 932108f489 Document and cleanup vor 7 Jahren

README.md

example

The example middleware 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.