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 Jun, 2018 1 commit
  2. 05 Jun, 2018 1 commit
    • Miek Gieben's avatar
      Docker: drop alpine (#1843) · a77d9834
      Miek Gieben authored
      * Docker: drop alpine
      
      Create a multistage docker build image that uses debian to install certs
      and then create the final image by using FROM: scratch. This creates a
      (slightly) smaller images and drops busybox and alpine.
      
      * Even less copying
      a77d9834
  3. 03 Jun, 2018 2 commits
    • Miek Gieben's avatar
      Fix presubmit (#1850) · 70a53e25
      Miek Gieben authored
      Uppercase these test cases as well.
      70a53e25
    • Miek Gieben's avatar
      presubmit: Check errorf as well (#1845) · 22c0b30d
      Miek Gieben authored
      Uppercase all these test errors as well. And extend the presubmit to
      check for these in the future. Also do a slightly smarter grep to only
      get t.<something>. as (because dump regexp) this also grep over non test
      files.
      22c0b30d
  4. 02 Jun, 2018 1 commit
  5. 01 Jun, 2018 2 commits
  6. 28 May, 2018 1 commit
  7. 26 May, 2018 1 commit
    • Ruslan Drozhdzh's avatar
      plugin/forward: erase expired connections by timer (#1782) · 833e3dda
      Ruslan Drozhdzh authored
      * plugin/forward: erase expired connection by timer
      
       - in previous implementation, the expired connections resided in
         cache until new request to the same upstream/protocol came. In
         case if the upstream was unhealthy new request may come long time
         later or may not come at all. All this time expired connections
         held system resources (file descriptors, ephemeral ports). In my
         fix the expired connections and related resources are released
         by timer
       - decreased the complexity of taking connection from cache. The list
         of connections is treated as stack (LIFO queue), i.e. the connection
         is taken from the end of queue (the most fresh connection) and
         returned to the end (as it was implemented before). The remarkable
         thing is that all connections in the stack appear to be ordered by
         'used' field
       - the cleanup() method finds the first good (not expired) connection
         in stack with binary search, since all connections are ordered by
         'used' field
      
      * fix race conditions
      
      * minor enhancement
      
      * add comments
      833e3dda
  8. 25 May, 2018 1 commit
  9. 24 May, 2018 5 commits
  10. 23 May, 2018 2 commits
    • darkweaver87's avatar
      ADD ignoreemptyservice option for kubernetes plugin (#1813) · 003e104f
      darkweaver87 authored
      * ADD: ignoreemptyservice option for kubernetes plugin
      
      * Modify documentation and rename option to add space
      
      * UPD: Add unit tests
      
      * UPD: gofmt
      
      * Add unit test for ignore emptyservice
      
      * gofmt
      
      * xfr tests failed
      
      * Rename emptyservice to empty_service
      003e104f
    • Miek Gieben's avatar
      Revert pkg/nonwriter changes (#1829) · 0f74281a
      Miek Gieben authored
      The DoH work (#1619) made changes to pkg/nonwriter.Writer that in
      hindsight were not backwards compatible; it added override for the
      LocalAddr() and RemoteAddr(). Instead of rolling back that PR, this PR
      reverts those changes and creates a DoHWriter for use in the
      https-server.go side of things.
      
      This was only caught in the integration test making this hard to catch,
      so we add a upstream_file_test.go that tries (doesn't work yet) to test
      this in the unit tests as well. Esp. helpful when 'git bisecting'.
      
      Fixes #1826
      0f74281a
  11. 22 May, 2018 2 commits
  12. 21 May, 2018 2 commits
  13. 20 May, 2018 1 commit
    • Yong Tang's avatar
      Fix `make check` dependency error (#1818) · a40345d6
      Yong Tang authored
      While invoking `make check` from a fresh new environment
      the following failure occured:
      ```
      [ec2-user@..... coredns]$ docker run -i -t --rm -v $PWD:/go/src/github.com/coredns/coredns -w /go/src/github.com/coredns/coredns golang:1.10
      root@e2d6a6c17132:/go/src/github.com/coredns/coredns# make check
      ** presubmit/context
      ** presubmit/test-lowercase
      ( gometalinter --deadline=2m --disable-all --enable=goimports --vendor --exclude=^pb/ ./... || true )
      /bin/sh: 1: gometalinter: not found
      go generate coredns.go
      ```
      
      This fix fixes the issue in Makefile so that deps could be installed first.
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      a40345d6
  14. 18 May, 2018 4 commits
  15. 17 May, 2018 5 commits
  16. 16 May, 2018 1 commit
  17. 12 May, 2018 3 commits
  18. 11 May, 2018 1 commit
  19. 10 May, 2018 2 commits
  20. 09 May, 2018 2 commits