Aucune description

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

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
}