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. 06 Jan, 2018 1 commit
  2. 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
  3. 03 Jan, 2018 4 commits
  4. 31 Dec, 2017 1 commit
  5. 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
  6. 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
  7. 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
  8. 19 Dec, 2017 1 commit
  9. 16 Dec, 2017 1 commit
  10. 15 Dec, 2017 4 commits
  11. 14 Dec, 2017 4 commits
  12. 13 Dec, 2017 1 commit
  13. 12 Dec, 2017 1 commit
  14. 11 Dec, 2017 3 commits
  15. 09 Dec, 2017 1 commit
  16. 08 Dec, 2017 5 commits
  17. 06 Dec, 2017 3 commits
    • Miek Gieben's avatar
      Codecov.yaml can be hidden (#1282) · 0a58143d
      Miek Gieben authored
      Hide it
      0a58143d
    • Ruslan Drozhdzh's avatar
      Increase performance of Dnstap plugin (#1280) · 45ef657d
      Ruslan Drozhdzh authored
      - added dnstapEncoder object which incapsulates marshalling of dnstap
         messages to protobuf and writing data to connection
      
       - dnstapEncoder writes data directly to connection object. It doesn't
         use the framestream's "write" method, because it writes data to
         intermediate buffer (bufio.Writer) which leads to unnecessary
         data copying and drops the performance
      
       - dnstapEncoder reuses a preallocated buffer for marshalling dnstap
         messages. Many messages are added to the same buffer. They are
         separated with a "frame length" 4-byte values, so the buffer content
         is writen to connection object in the format compatible with
         framestream library
      
       - added test which guarantees that dnstapEncoder output is the same
         as framestream Encoder output
      
       - the performance increase is about 50% in (dio *dnstapIO) serve() method
         of dnstap plugin. The overall coredns performance increase is about 10%
         in the following configuration:
      
         .:1053 {
             erratic {
                 drop 0
                 truncate 0
                 delay 0
             }
             dnstap tcp://127.0.0.1:6000 full
             errors stdout
         }
      
         tested with dnsperf tool
      45ef657d
    • Rene Treffer's avatar
      Fix time bucketing of response time (#1274) · 98632cd4
      Rene Treffer authored
      98632cd4