Go to file
2018-02-22 14:05:25 +00:00
example_test.go Add tests and rename middleware to plugin 2018-01-26 18:43:28 +00:00
example.go Add tests and rename middleware to plugin 2018-01-26 18:43:28 +00:00
LICENSE Add license 2018-01-16 07:52:25 +00:00
README.md Fix readme 2018-02-22 14:05:25 +00:00
setup_test.go Add tests and rename middleware to plugin 2018-01-26 18:43:28 +00:00
setup.go Fix for latest coredns 2017-09-15 21:29:47 +01:00

example

Namme

example - prints "example" on every query received.

Description

The example plugin prints "example" on every query received. It servesused as documentation for writing CoreDNS plugins.

Syntax

example

Examples

In this configuration, we forward all queries to 9.9.9.9 and print "example" whenever we recieve a query.

. {
  forward . 9.9.9.9
  example
}