惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
月光博客
月光博客
美团技术团队
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
爱范儿
爱范儿
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
I
InfoQ
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
F
Fortinet All Blogs

Notes on CoreDNS: DNS and Service Discovery

CoreDNS-1.14.5 Release CoreDNS-1.14.6 Release CoreDNS-1.14.4 Release CoreDNS-1.14.2 Release CoreDNS-1.14.3 Release CoreDNS-1.14.1 Release CoreDNS-1.14.0 Release CoreDNS-1.13.2 Release CoreDNS-1.13.1 Release CoreDNS-1.13.0 Release CoreDNS-1.12.4 Release CoreDNS-1.12.3 Release CoreDNS-1.12.2 Release CoreDNS-1.12.1 Release CoreDNS-1.12.0 Release CoreDNS-1.11.4 Release CoreDNS-1.11.3 Release CoreDNS-1.11.2 Release CoreDNS-1.11.1 Release CoreDNS-1.11.0 Release CoreDNS-1.10.1 Release CoreDNS-1.10.0 Release CoreDNS-1.9.4 Release CoreDNS-1.9.3 Release CoreDNS-1.9.2 Release CoreDNS-1.9.1 Release CoreDNS-1.9.0 Release CoreDNS-1.8.7 Release CoreDNS-1.8.6 Release CoreDNS-1.8.5 Release
CoreDNS-002 Release
coredns · 2016-10-20 · via Notes on CoreDNS: DNS and Service Discovery

CoreDNS-002 has been released!

CoreDNS is a DNS server that chains plugins, where each plugin implements a DNS feature.

What is New

  • -port was renamed to -dns.port to avoid clashing with Caddy’s -port (which was renamed to http.port).
  • Lumberjack logger was removed, this means no built in log rotation; use an external tool for that.
  • Brushed up GoDoc for all packages.
  • Brushed up all READMEs to be more standard and look like manual page.
  • Golint-ed and go vet-ed the code - these can now (somewhat) useful tools before submitting PRs.
  • Add more tests and show test coverage on submitting/PRs.
  • Various Corefile parsing bugs fixed, better syntax error detection.

Plugin improvements:

  • 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.

Contributors

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.