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 .
- 28 Aug, 2017 2 commits
-
-
Miek Gieben authored
* dep ensure -update Run "dep ensure -update` to update all dependencies. No code changes; just the dependencies. * dep prune * add new venderod
-
Miek Gieben authored
This add the infrastructure to let other middleware report their health status back to the health middleware. A health.Healther interface is introduced and a middleware needs to implement that. A middleware that supports healthchecks is statically configured. Every second each supported middleware is queried and the global health state is updated. Actual tests have been disabled as no other middleware implements this at the moment.
-
- 27 Aug, 2017 6 commits
-
-
Miek Gieben authored
Go vet warning: fix use of context. Fixes #997 Also make *auto*'s reload test less flaky by retrying and then giving up.
-
Yong Tang authored
To align with #992 Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
* mw/kubernetes: add configurable TTL Add ttl option to kubernetes. This defaults to 5s but allows configuration to go up to 3600. Configure the tests so that a few actually check for the 5s, while the rest use the TTL of 303 which is ignored by the checking code. Fixes #935 * fix tests * and more
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
Start CoreDNS instance in call Restart() on it.
-
Miek Gieben authored
-
- 26 Aug, 2017 2 commits
-
-
varyoo authored
changes in Caddy caused mw/root tests to fail: https://github.com/mholt/caddy/commit/4cce8c7b6bf08ffff5e30999aa49259324d58f5d (#990)
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 25 Aug, 2017 4 commits
-
-
Miek Gieben authored
block chaos queries, unless the chaos or proxy middleware is loaded. We respond with REFUSED. This removes the need for each middleware to do this class != ClassINET if-then. Also make config.Registry non-public.
-
Miek Gieben authored
* Remove createTestServer * more cleanups * comment tweak * sort * sigh
-
Miek Gieben authored
Split up the handler_test in four files that all tests their specific bits. Removed the CNAME sort as there was only 1 answer with a CNAME and that was a single one. See #942, this fixes (a bit) the tests in middleware.
-
Thong Huynh authored
* Add set EDNS0 with variable substitution * Change variable from $ to {}. Un-export constants * Update README * Change getRuleData() to ruleData(); Change to use string match from regexp
-
- 24 Aug, 2017 4 commits
-
-
Sandeep Rajan authored
-
Miek Gieben authored
* tests: CoreDNSServerAndPorts Copy from kubernetes.go and renamed to fit the style, adapted almost all callers. This is a mechanicl change, no testdata was changed. * typos
-
Miek Gieben authored
Increate the sleep duration; this is not a proper fix. The problem here is that this is in test that just starts a CoreDNS instance and thus we don't have levers to make "time speed up". It might be worth checking if there is some LD_PRELOAD hackery that fakes time for the entire test? Fixes #945 (not really, but closing with this)
-
Miek Gieben authored
* Small golint cleanup Mostly docs in autopath. * duh
-
- 23 Aug, 2017 6 commits
-
-
Miek Gieben authored
Do the return early and dedent the rest of the function.
-
Miek Gieben authored
* mw/kubernetes: add apex test This adds small test case for apex queries: SOA and HINFO. Fix (obvious) parse bug in parse.go. * Test Ns request also here
-
Miek Gieben authored
Based up on: #939, but redone in a new PR with some cherry-picked commits: aacb91ef0b927683b21d6ee39dbddbd001334854 5dc34247b7d0136d9fe035f6b10d6b3e14ee7f2c This removes kPod and Kservice and creates []msg.Service from k.findPods and k.findServices. Updated few tests which I *think* are correct; they look correct to me.
-
Miek Gieben authored
* mw/kubernetes: don't export Pod-mode constants. * merged
-
Miek Gieben authored
* mw/kubernetes: resync to opts Only used to initialize the cache that already has a dnsControlopts, so remove it from the main kubernetes struct. * Fix test * mw/kubernetes: LabelSelector to options as well Labels select is also only used for init. Don't carry it in the main kubernetes struct. * remove this test: can't happen Caddyfile parser will only call setup when it sees kubernetes. * erge gone wrong
-
Miek Gieben authored
* mw/kubernetes: rewrite parseRequest Stop looking at the qtype in parseRequest and make k.Namespace a map. Fallout from this is that pkg/strings as it is not used anymore. Also add a few helper functions to make unexposed namespaces easier to see in the code. Add wildcard tests to the middleware tests. * Fix tests Add a whole bunch of comments to document what we are trying to do. * This is now answered * up coverage * duh * Update testcase * Make it nodata
-
- 22 Aug, 2017 3 commits
-
-
Miek Gieben authored
Upstream allows file structured like /etc/resolv.conf. Update docs. Fixes #709
-
Miek Gieben authored
Fixes #965
-
Miek Gieben authored
* core: hide registerHandler Remove RegisterHandler and just make it implicit when we look at the handler compilation step. * Rename GetHandler to just Handler Update callers and make auto check Hander in OnStartup. * Up test coverage in erratic * up test coverage
-
- 21 Aug, 2017 2 commits
-
-
Miek Gieben authored
Briefly highlight that autopath might return the wrong results to pods in different namespaces. Fixes #778
-
Miek Gieben authored
$INCLUDE was fixed in miekg/dns, create tests in CoreDNS so that we know we have the latest version. Fixes #880
-
- 20 Aug, 2017 8 commits
-
-
Miek Gieben authored
Yes, the previous Go version is important but this doubles the wait on travis. This drops 1.7 from travis. This means we wait for bug reports to show up, or tell people to use the precompiled binaries are docker containers.
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
It looks like the cached path - `$GOPATH/src` - `$GOPATH/pkg` overlaps with the source path of `$GOPATH/src/github.com/coredns/coredns`. Disable the cache for now. May enable cache in the future if we could exclude `$GOPATH/src/github.com/coredns/coredns` from `$GOPATH/src`. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
For profiling the time spent in Travis CI. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
Not needed and already done in the other test (bench is not looked at at all)
-
Miek Gieben authored
Make it its own package as shared between autopath and federation. Fixes #933
-
Miek Gieben authored
* travis: parallize builds * trying out stuff * order matters
-
- 19 Aug, 2017 3 commits
-
-
Miek Gieben authored
* Add dnsutil.Join * Create dnsutil.Join Create Join helper function and move bits in the code over.
-
Miek Gieben authored
This is more general and aligns well with the other methods. Also allows the kubernetes middleware to use it. Fixes #940
-
Miek Gieben authored
* mw/kubernetes: remove zone from parseRequest State has the zone info as well, so don't need to have it in parseRequest anymore. * Fix up tests * improve test coverage
-