This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 11 Jan, 2018 2 commits
    • Miek Gieben's avatar
      Release 1.0.3 · dc6c4074
      Miek Gieben authored
      dc6c4074
    • Yong Tang's avatar
      Fix version of go get (#1370) · 2ead19f3
      Yong Tang authored
      This fix fixes version fetched from `go get` so
      that versions are guarded.
      
      github.com/mholt/caddy              v0.10.10
      github.com/miekg/dns                v1.0.3
      github.com/prometheus/client_golang v0.8.0
      golang.org/x/net                    release-branch.go1.9 (branch)
      golang.org/x/text                   e19ae1496984b1c655b8044a65c0300a3c878dd3
      
      This fix fixes 1368.
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      2ead19f3
  2. 10 Jan, 2018 5 commits
    • Miek Gieben's avatar
      Doc (#1369) · b7476d02
      Miek Gieben authored
      * Constent atx headers
      
      * Regen manual pages
      b7476d02
    • Miek Gieben's avatar
      Overloaded (#1364) · 48059a6c
      Miek Gieben authored
      * plugin/health: add 'overloaded metrics'
      
      Query our on health endpoint and record (and export as a metric) the
      time it takes. The Get has a 5s timeout, that, when reached, will set
      the metric duration to 5s. The actually call "I'm I overloaded" is left
      to an external entity.
      
      * README
      
      * golint and govet
      
      * and the tests
      48059a6c
    • Miek Gieben's avatar
      pkg/fall: make Zero and Root vars not funcs (#1367) · cced1a4c
      Miek Gieben authored
      These can be just vars. Think that was intended as well.
      cced1a4c
    • Miek Gieben's avatar
      plugin/template: small tweaks (#1366) · a19ea63d
      Miek Gieben authored
      Small README updates, and fallthrough fixes (using less code)
      a19ea63d
    • Rene Treffer's avatar
      Align plugin/template usage and syntax with other plugins (#1360) · 0091e1c9
      Rene Treffer authored
      * Align plugin/template usage and syntax with other plugins
      
      * Use new fallthrough logic in plugin/template
      
      * Use zone name normalization for plugin/template
      
      * Test fallthrough parsing in plugin/template
      
      * Rework scoping of match checks
      
      Most matches are not plugin global but per template. The plugin does only a
      very rough check while detailed checks are done per-template.
      
      Per template checks include:
      - Zones
      - Class/Type
      - Regex
      - Fallthrough
      
      * Remove trailing `.` from fully qualified domain names
      
      * Register template metrics with zone/class/type instead of regex
      
      * Remove trailing fqdn dot from multiple testcases
      0091e1c9
  3. 08 Jan, 2018 5 commits
    • Miek Gieben's avatar
      plugin/proxy: max the number of upstreams (#1359) · a7590897
      Miek Gieben authored
      * plugin/proxy: max the number of upstreams
      
      Put a max of 15 on the number of upstreams.
      a7590897
    • Miek Gieben's avatar
      plugin/template: README tweaks (#1361) · dd37627e
      Miek Gieben authored
      * plugin/template: README tweaks
      
      * Go gen it
      dd37627e
    • Rene Treffer's avatar
      plugin/template (#1298) · a322d90f
      Rene Treffer authored
      * Add a template plugin
      
      The template plugin matches the incoming query by class, type and regex
      and templates a response with go templates.
      
      * Fix go style errors
      
      * Fix template README example
      
      * Fix corefile example in plugin/template
      
      * Clarify plugin/template/README.md
      
      Add more details and external links where needed.
      
      * Fix code issues in plugin/template
      
      * Add template metrics
      
      * Add section and template to template plugin metrics
      
      * Fix style / remove extra newline on go imports
      
      * Fix typo in plugin/template/README.md
      
      * Update README.md
      
      I've change the format a bit in a PR that I merged yesterday.
      
      * Add authority section to plugin/template
      
      * Fix naming of incoming query name in plugin/template/README.md
      
      * Fix doc syntax in plugin/template/README.md
      
      * Add authority section to plugin/template/README.md config overview
      
      * Add metric labels to plugin/template/README.md metrics section
      
      * Use request.Request to pass state to the template matcher
      a322d90f
    • John Belamaric's avatar
      Simplify plugin/pkg/fall (#1358) · c59f5f6e
      John Belamaric authored
      * Simplify plugin/pkg/fall
      
      * Remove unused import
      
      * Fix fall_test
      
      * Get fall coverage to 100% just because
      
      * gofmt. sigh.
      c59f5f6e
    • Miek Gieben's avatar
      Add pkg/fall for Fallthrough (#1355) · c6febe62
      Miek Gieben authored
      * Add pkg/fall for Fallthrough
      
      Move this into it's own package to facilitate tests. Important bug
      was fixed: make the names fully qualified.
      
      Add fall package to hosts, reverse, etcd, and fix kubernetes and any
      tests. The k8s tests are still as-is, might need a future cleanup.
      c6febe62
  4. 07 Jan, 2018 1 commit
  5. 06 Jan, 2018 4 commits
  6. 04 Jan, 2018 1 commit
    • Miek Gieben's avatar
      Manual pages (#1346) · 58221f55
      Miek Gieben authored
      * Add manual pages
      
      Generate manual pages from the README and extend README with Name and
      Description sections.
      
      The generation requires 'ronn' which may not be available. Just check in
      all generated manual pages.
      58221f55
  7. 03 Jan, 2018 4 commits
  8. 31 Dec, 2017 1 commit
  9. 27 Dec, 2017 4 commits
    • Miek Gieben's avatar
      metrics: correctly register all metrics (#1335) · 90dd4bbd
      Miek Gieben authored
      After initial startup, see if prometheus is loaded and if so, register
      our metrics with it.
      Stop doing the init() func and just use the sync.Once so we don't double
      registrer our metrics.
      90dd4bbd
    • Max Schmitt's avatar
      Added files to .gitignore (#1334) · 5ac42ed5
      Max Schmitt authored
      5ac42ed5
    • Miek Gieben's avatar
      Stop vendoring prometheus (#1333) · 8ec89aa4
      Miek Gieben authored
      * Stop vendoring prometheus
      
      * Fix make
      8ec89aa4
    • Miek Gieben's avatar
      plugin/metrics: convience MustRegister function (#1332) · 99047aee
      Miek Gieben authored
      This leave most of the code intact, but we need to stop vendoring
      prometheus, because, again, plugins what want to use it. Not vendoring
      prometheus makes my forward metrics show up again. Code looks bit
      convoluted, but works:
      
      ~~~
      	c.OnStartup(func() error {
      		once.Do(func() {
      			m := dnsserver.GetConfig(c).Handler("prometheus")
      			if m == nil {
      				return
      			}
      			if x, ok := m.(*metrics.Metrics); ok {
      				x.MustRegister(RequestCount)
      				x.MustRegister(RcodeCount)
      				x.MustRegister(RequestDuration)
      				x.MustRegister(HealthcheckFailureCount)
      				x.MustRegister(SocketGauge)
      			}
      		})
      	})
      ~~~
      99047aee
  10. 22 Dec, 2017 2 commits
    • Miek Gieben's avatar
      core: Fix no handler crash (#1328) · c655589f
      Miek Gieben authored
      If you have no handlers for any zone CoreDNS would crash, this is very
      *uncommon*, because it makes your server a bit unusable. Example config:
      ~~~
      . {
          #forward . tls://9.9.9.9 8.8.8.8 {
          #    health_check 5s
          #    tls_servername dns.quad9.net
          #}
          pprof
          debug
      }
      ~~~
      It this does nothing and doesn't setup you plugin chain because pprof and
      debug don't handle queries
      c655589f
    • Miek Gieben's avatar
      dnstest: add multirecorder (#1326) · 1f81d154
      Miek Gieben authored
      * dnstest: add multirecorder
      
      This adds a new recorder that captures all messages written to it. This
      can be useful when, for instance, testing AXFR which can write muliple
      messages back to the client.
      
      * docs
      1f81d154
  11. 21 Dec, 2017 3 commits
    • Francois Tur's avatar
      Update Makefile.release (#1327) · 08076e52
      Francois Tur authored
      08076e52
    • Miek Gieben's avatar
      Makefile.release: allow for other docker registries (#1324) · 0221f3d8
      Miek Gieben authored
      Default to empty DOCKER var so you wont accidently push to the
      production dockerhub. But allow to be overriden to you can push
      to your registry. This allows you to re-use the CoreDNS makefiles for
      your internal CI/CD.
      
      Hacked Makefile with echos:
      
      make DOCKER=bla -f Makefile.release docker-push
      Pushing: 1.0.1
      for arch in amd64 arm arm64 ppc64le s390x; do \
          echo docker push bla/coredns:coredns-$arch ;\
      done
      docker push bla/coredns:coredns-amd64
      docker push bla/coredns:coredns-arm
      docker push bla/coredns:coredns-arm64
      docker push bla/coredns:coredns-ppc64le
      docker push bla/coredns:coredns-s390x
      echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1
      manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1
      echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest
      manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest
      0221f3d8
    • Miek Gieben's avatar
      plugin/proxy: for duration metrics (#1323) · a8ba24ff
      Miek Gieben authored
      The README.md was updated by not the actual metric.
      
      Fixes #1321
      a8ba24ff
  12. 19 Dec, 2017 1 commit
  13. 16 Dec, 2017 1 commit
  14. 15 Dec, 2017 4 commits
  15. 14 Dec, 2017 2 commits