notes/coredns-002.md
+++ date = "2016-10-19T19:09:32Z" description = "CoreDNS-002 Release Notes." release = "002" tags = ["Release", "002", "Notes"] title = "CoreDNS-002 Release" author = "coredns" +++
CoreDNS-002 has been released!
CoreDNS is a DNS server that chains plugins, where each plugin implements a DNS feature.
-port was renamed to -dns.port to avoid clashing with Caddy's -port (which was renamed to
http.port).plugin/root: a root plugin, same usage as in Caddy. See plugin/root/README.md for its use in CoreDNS. This makes stanzas like this shorter:
.:53 {
file /etc/coredns/zones/db.example.net example.net
file /etc/coredns/zones/db.example.org example.org
file /etc/coredns/zones/db.example.com example.com
}
Can be written as:
.:53 {
root /etc/coredns/zones
file db.example.net example.net
file db.example.org example.org
file db.example.com example.com
}
plugin/auto: similar to the file plugin, but automatically picks up new zones.
The following Corefile will load all zones found under /etc/coredns/org and be authoritative
for .org.:
. {
auto org {
directory /etc/coredns/org
}
}
plugin/file: handle wildcards better.
plugin/kubernetes: TLS support for kubernetes and other improvements.
plugin/cache: use an LRU cache to make it memory bounded. Added more option to have more control on what is cached and for how long. The cache stanza was extended:
. {
cache {
success CAPACITY [TTL]
denial CAPACITY [TTL]
}
}
See plugin/cache/README.md for more details.
plugin/dnssec: replaced go-cache with golang-lru in dnssec. Also adds a cache_capacity.
option in dnssec plugin so that the capacity of the LRU cache could be specified in the config
file.
plugin/logging: allow a response class to be specified on log on responses matching the name and the response class. For instance only log denials for example.com:
. {
log example.com {
class denial
}
}
plugin/proxy: performance improvements.
The following people helped with getting this release done:
Chris O'Haver, Manuel de Brito Fontes, Miek Gieben, Shawn Smith, Silas Baronda, Yong Tang, Zhipeng Jiang.
If you want to help, please check out one of the issues and start coding!
For documentation and help, see our community page.