暫無描述

Miek Gieben 06a23f27f8 Add license 7 年之前
LICENSE 06a23f27f8 Add license 7 年之前
README.md 2a59190859 update 7 年之前
example.go fe5e8f02ad Fix for latest coredns 7 年之前
setup.go fe5e8f02ad Fix for latest coredns 7 年之前

README.md

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

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.