No Description

Miek Gieben a31419736d Merge branch 'master' of github.com:coredns/example 7 years ago
LICENSE 06a23f27f8 Add license 7 years ago
README.md 56f91d9d07 typo 7 years ago
example.go 932108f489 Document and cleanup 7 years ago
example_test.go 932108f489 Document and cleanup 7 years ago
setup.go 932108f489 Document and cleanup 7 years ago
setup_test.go 932108f489 Document and cleanup 7 years ago

README.md

example

Name

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
}