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 .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
- 08 Jun, 2018 1 commit
-
-
Miek Gieben authored
Add "Why is this needed". I can get a description of what the PR does from the code changes, answering the why question is more important.
-
- 07 Jun, 2018 1 commit
-
-
Malcolm Akinje authored
* Current stage of the log files. Test need to be done as well as formatting of times. * Finished testing. All altered classes test pass along with my additions * Updated the replacer package to print the units as well. May take out. * Changed the time units to be within the rules. Fixed the test as well. * Fixed some tests, updated the readme, fixed the replacer class. * Updates of standardizing only to seconds in response duration. Need to revert README. * Reverted readme. * Added a small test in new replacer. * Changed replacer to inline the strconv for duration.
-
- 06 Jun, 2018 2 commits
-
-
Miek Gieben authored
These must be alligned on 8 bytes, in Go this means putting them first in the struct (AFAICT).
-
Yong Tang authored
This fix update Makefile.release for docker image build on different platforms. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 05 Jun, 2018 1 commit
-
-
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
-
- 03 Jun, 2018 2 commits
-
-
Miek Gieben authored
Uppercase these test cases as well.
-
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.
-
- 02 Jun, 2018 1 commit
-
-
Miek Gieben authored
No other fixes; this only adds the check.
-
- 01 Jun, 2018 2 commits
-
-
Miek Gieben authored
Fix the casing *and* fix use of context as we were still referencing the non-std lib context - no wondering how this could have worked...
-
Miek Gieben authored
We use "_" every where else. (Might add presubmit to test for this)
-
- 28 May, 2018 1 commit
-
-
Mario Kleinsasser authored
Signed-off-by:
Mario Kleinsasser <mario.kleinsasser@gmail.com> Rework the documentation Signed-off-by:
Mario Kleinsasser <mario.kleinsasser@gmail.com>
-
- 26 May, 2018 1 commit
-
-
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
-
- 25 May, 2018 1 commit
-
-
Miek Gieben authored
-
- 24 May, 2018 5 commits
-
-
Miek Gieben authored
* Implement deprecation notice for 1.1.4 This still allows all the config to be parsed, but noops it: * -log; always set the log to stdout; no matter what. * https_google; removed from the proxy implementation. * reverse plugin: set to deprecated. * Whole of reverse can go * Remove test for deprecated plugin
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
enable alias and add one, so that "/plugin: forward" adds a label called plugin-forward to the issue. enable branches that automatically delete merged branches.
-
Miek Gieben authored
Fix the upstream unit test to actually test it.
-
- 23 May, 2018 2 commits
-
-
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
-
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
-
- 22 May, 2018 2 commits
-
-
Ahmet Alp Balkan authored
* Add links to whoami plugin reading material * create See Also section
-
Miek Gieben authored
* WIP: make CoreDNS DoH Server * It works * Fix tests * Review from Tom - on diff. PR * correct mime type * Cleanups and use the pkg/nonwriter * rename and updates * implement get * implement GET * Code review comments * correct context * tweaks * code review
-
- 21 May, 2018 2 commits
-
-
Yong Tang authored
This fix enforces gofmt -s on linter check in Makefile, and fixes `plugin/kubernetes/handler_test.go` and `plugin/tls/tls_test.go` with `gofmt -s`
-
Tobias Schmidt authored
A NODATA response has no answers and rcode NOERROR, but should have a SOA record in the authority section.
-
- 20 May, 2018 1 commit
-
-
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:Yong Tang <yong.tang.github@outlook.com>
-
- 18 May, 2018 4 commits
-
-
Ruslan Drozhdzh authored
- connManager() goroutine will stop when Proxy is about to be garbage collected. This means that no queries are in progress, and no queries are going to come
-
Chris O'Haver authored
-
Miek Gieben authored
A bit meh, but we *need* hardcoded addresses in these tests, because we can't get them from a running coredns. These may be in-use and this fails the tests then. Do an ugly err.Error() string match if this is the case to prevent failing the test for something not in our control. A better fix would be to retreive the listening address from coredns via some api, so we could listen on :0 for these as well. No such API exists as of yet.
-
Anton Antonov authored
-
- 17 May, 2018 5 commits
-
-
Yong Tang authored
This fix updates k8s' client-go to v7.0.0, which matches k8s 1.10. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
This fix fixes golinter warning: ``` plugin/tls/tls_test.go:1::warning: file is not goimported (goimports) ``` Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
This fix is an vendor update. Both ugorji and thrift have to be pinned to compile. The ugorji is from etcd and thrift is from zipkin. This fix fixes #1802. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
* vendor: don't vendor the context stuff We don't need to vendor this anymore as we moved to the std lib for these. * new stuff showing up with dep ensure * remove go-shlex
-
Ruslan Drozhdzh authored
* Probe simplification - the main reason of rework is that previous implementation hung when calling Do() after Stop() * replace atomics with mutex * access Probe.interval under lock
-
- 16 May, 2018 1 commit
-
-
Ruslan Drozhdzh authored
-
- 12 May, 2018 3 commits
-
-
Chris O'Haver authored
mention auto in reload docs
-
Chris O'Haver authored
I just noticed this discrepancy in one of the `except` examples.
-
Chris O'Haver authored
making response rewrites more prominent
-
- 11 May, 2018 1 commit
-
-
Miek Gieben authored
This was just tagged and has the worker patch that improves performance.
-
- 10 May, 2018 1 commit
-
-
Miek Gieben authored
Copy the OWNERS file from proxy and add rdrozhdzh to it.
-