coredns-ldap/README.md

27 lines
505 B
Markdown
Raw Normal View History

# example
The example middleware prints "example" on every query received. It can be used as documentation for
writing external middleware and to test if external middleware compiles with CoreDNS.
## Syntax
~~~ txt
example
~~~
## Examples
```
example.com {
file example.com.db {
upstream 8.8.8.8
}
example
}
```
## How to Enable
2017-09-15 20:34:39 +00:00
Follow [these](https://coredns.io/2017/07/25/compile-time-enabling-or-disabling-plugins/) steps,
2017-09-15 20:36:55 +00:00
*example* should be put relatively early in the plugin chain.