Sem descrição

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

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
}