coredns-ldap/README.md
Chris O'Haver c9dc4122ab
middleware -> plugin
middleware -> plugin
2018-02-13 13:32:19 -05:00

503 B

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.