Ei kuvausta

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

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
}