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 .
- 14 Aug, 2017 3 commits
-
-
Miek Gieben authored
* mw/kubernetes: remove federation and cidr Remove both as we have a corefile syntax change that handles cidr and remove federation because that is going to be its own middleware. * backwards incompat changes This PR: * removes cidr from kubernetes (core Corefile feature now) * removes federation from kubernets (comes back as new middleware) * [remove autopath - which was already gone, so that already was backwards incompat] * adds `fallthrough` to the *etcd* middleware and makes you enable it. * Fail on unknown properties * documentation * Disable TestHealthCheck as it uses realtime and fails
-
Miek Gieben authored
* cidr everywhere: check all middleware Add tests for cidr in only that middleware that already tests for this. Check the other ones manually (and put reverse in the tests cases anyway). Make etcd setup_test run without +build etcd tag - it is not needed for this test - move rest of the code to lookup_test.go. Cleanup proxy test a bit and remove TempDir as there is test.TempFile that does the same thing. Fixes #909 * coredns package * Fix test compile
-
Yong Tang authored
* Consolidation of Makefile and Makefile.release Several changes: 1. All go specific target like `go generate`, etc. has been moved to Makefile. Now Makefile.release does not repeat go build, etc. related rules. 2. In Makefile.release, the binary build is done through `docker run` and with a fixed specific go version (currently 1.8.3). This will help making sure build process could be reproduced on any dev platform, with no dependency to the golang version installed on the platform. 3. Platform related flags (e.g., "GOOS=darwin") are passed through Makefile (not Makefile.release). Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Update to only use `make` without running inside `docker run` Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 13 Aug, 2017 2 commits
-
-
Yong Tang authored
The logo is pointing to https://coredns.io/images/CoreDNS_Colour_Horizontal.png and provides the link to https://coredns.ioSigned-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
Split version string into two, before: ``` 2017/08/12 19:43:08 [INFO] CoreDNS-010 linux/amd64, go1.8.3, a6d2d7b5 CoreDNS-010 linux/amd64, go1.8.3, a6d2d7b5 ``` After: ``` root@9bd51ffc39aa:/go/src/github.com/coredns/coredns# ./coredns .:53 2017/08/12 19:12:59 [INFO] CoreDNS-010 2017/08/12 19:12:59 [INFO] linux/amd64, go1.8, a6d2d7b5 CoreDNS-010 linux/amd64, go1.8, a6d2d7b5 ``` Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 12 Aug, 2017 3 commits
-
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
Remove unused distclean and misc. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
Now the output would be: ``` ./coredns -version CoreDNS-010 linux/amd64, go1.8, 241e3dbc ``` In case the local file has been modified, then the output would be (with --dirty): ``` ./coredns -version CoreDNS-010 linux/amd64, go1.8, 241e3dbc-dirty ``` Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 11 Aug, 2017 16 commits
-
-
Chris O'Haver authored
The primary driver for autopath was kubernetes. It addresses a specific need in kubernetes, so it deserves a mention in the K8s README, with an example.
-
Miek Gieben authored
* mw/k8s: cleanups Remove some constants that aren't used any more. Make PrimaryZone private because it doesn't need to be exported. Remove test that did not cover corner case as expressed in setup.go * cleanup this as well
-
Chris O'Haver authored
Found a few typos, spelling, and grammar errors.
-
Chris O'Haver authored
remove extraneous "]"s from the syntax def...
-
Miek Gieben authored
* mw/k8s: Test Federation parsing The test case was there, but there was nothing testing it?!?!?! Add it and split it out of the main setup test which is too long already. Also allow kubernetes a not have a ZONE, just default to the serverblock in that case. Remove test that was blocking that. Cleanup up the readme more. * rewrite README
-
Miek Gieben authored
-
Miek Gieben authored
Remove k.defaultNSMsg() it is just one line of getting the service and it is another method that needlessly uses recordRequest.
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
* Support multiple k8s api servers specification and load balance among api servers This fix adds supports for multiple k8s api servers specification, load balance among api servers. When two or more api servers are specified in kubernetes block (endpoint ...), a proxy is created locally (with randomly generately port). The coredns will points to the generated proxy so that load balancing could be achieved. Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Setup initial healthcheck at the beginning Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Update README.md for kubernetes middleware and remove whitespaces. Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Use middleware/pkg/healthcheck in middleware/kubernetes for api proxy Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
* mw/k8s: remove dependence on global var Remove the global coreDNSRecord that was used. Remove tests the referenced that var. Cleanup the rest. * Rename function as well * fixes
-
Miek Gieben authored
Remove the examples, save one in the syntax section. The example section covers all. This brings the kubernetes README inline with other READMEs.
-
Miek Gieben authored
* mw/kubernetes: handle dns.TypeNS better. * mw/kubernetes: cleanup typeNS replies a bit.
-
Miek Gieben authored
* core: replace GetMiddleware See the discussion in #881. GetMiddleware would add a `nil` middleware to the callstack thereby breaking functionality. This PR drops it in favor of RegisterHandler which is a completely standalone registry for middleware that want to let it self know to other middleware. Currenly *autopath* uses this to call *kubernetes*'s AutoPath method for dynamic autopathing. * Drop GetMiddleware * Register metrics * drop the panic
-
Miek Gieben authored
Only use was in k8s middleware; no tests other than subzone_test.go existed; not exercised: remove.
-
Miek Gieben authored
* middleware/autopath: some fixes This fix a small issue in autopath, but unearthed a bigger one. See #881. * Fix test
-
Miek Gieben authored
* middleware/authpath: Fix return from k8s mw Return the correct search path from the kubernetes' AutoPath function. Based on preliminary discussion in #870 * PodWithIP can be private Fix and add docs to functions. * CR: remove the error from AutoPathFunc
-
- 10 Aug, 2017 7 commits
-
-
Miek Gieben authored
Add some docs about normalize.Host and normalize.Name. They are used correctly in the middleware even though they are somewhat confusing, esp when you copy from ServerBlockKeys in your middleware.
-
Miek Gieben authored
* mw/kubernetes: fix parseTests Make parse tests table driven to remove a duplicate code, i.e. most of the contents of parse_test.go can be removed as well as the expectString helper function. * cleanup parse tests
-
Miek Gieben authored
* middleware/kubernetes: pull TXT out of parseRequest Put the TXT handling one layer higher and remove it from parseRequest. Also rename the podsvc field in there to podOrSvc. Now that it isn't used anymore for TXT record (dns-version) that was put in there. We can make this a boolean (in a future PR). Make parseRequest get an optional Zone that is from state.Zone and use that instead of its own code. Removed some tests and other smaller cleanups. Fixes #836 * add this reverse * another check * readd * Rename to kPod and kService for some clarity
-
Yong Tang authored
Some `go vet` cleanup Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
The current badge styles have 4 flat and 1 regular, which were rather inconsistent. This fix changes to one style and matches with Caddy. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
* Move healthcheck out Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Move healthcheck to middleware/pkg/healthcheck Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
So that pull request build failure does not impact project status. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 09 Aug, 2017 4 commits
-
-
Miek Gieben authored
Move reverse function and (some) test code to reverse*.go
-
Miek Gieben authored
Pull in the contents of routeRequest as it is only called once.
-
Miek Gieben authored
Call out to kubernetes to get the search path - this still needs to return something sensible, but all infrastructure has landed to make it work.
-
Miek Gieben authored
autopath as middleware
-
- 08 Aug, 2017 5 commits
-
-
Miek Gieben authored
Add log statement pointing to replacement. remove cidr from README and use replacement syntax. Fixes #851
-
Miek Gieben authored
*ugh*: forgot to add these files. This add the dnsutil.TrimZone function.
-
Miek Gieben authored
Add a Zone field in request.Request and a dnsutil.Trimzone help function.
-
James Mills authored
-
张勋 authored
-