CoreDNS is a DNS server that chains plugins
Find a file
2016-03-22 11:04:56 +00:00
core it compiles 2016-03-22 11:04:56 +00:00
middleware it compiles 2016-03-22 11:04:56 +00:00
server Proxy cleanups 2016-03-19 20:53:37 +00:00
.gitignore First commit 2016-03-18 20:57:35 +00:00
.travis.yml no tip 2016-03-19 16:33:59 +00:00
CONTRIBUTING.md Cleanups, removing Caddy name a bit more 2016-03-19 07:42:21 +00:00
LICENSE Cleanups, removing Caddy name a bit more 2016-03-19 07:42:21 +00:00
main.go less webby 2016-03-19 20:56:49 +00:00
main_test.go First commit 2016-03-18 20:57:35 +00:00
middleware.md Proxy cleanups 2016-03-19 20:53:37 +00:00
placeholder.md dump placeholder.md here 2016-03-20 09:45:04 +00:00
README.md Fix early stage warning 2016-03-20 15:07:51 +01:00

CoreDNS

CoreDNS is DNS server that started as a fork of Caddy. It has the same model: it chains middleware.

It is in the early stages of development and should not be used on production servers yet. For now most documentation is in the source and some blog articles can be found here.

https://caddyserver.com/ is also full of examples on how to structure a Corefile (renamed from Caddyfile when I forked it).

Resolver

Start a simple resolver (proxy):

Corefile contains:

.:1053 {
    proxy . 8.8.8.8:53
}

Just start CoreDNS: ./coredns. And then just query on that port (1053), the query should be forwarded to 8.8.8.8 and the response will be returned.

Blog

https://miek.nl/tags/coredns/