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 .
- 23 Sep, 2016 2 commits
-
-
Manuel de Brito Fontes authored
-
Miek Gieben authored
* Fix linter errors * More linting fixes * More docs and making members private that dont need to be public * Fix linter errors * More linting fixes * More docs and making members private that dont need to be public * More lint fixes This leaves: ~~~ middleware/kubernetes/nametemplate/nametemplate.go:64:6: exported type NameTemplate should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:71:1: exported method NameTemplate.SetTemplate should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:108:1: exported method NameTemplate.GetZoneFromSegmentArray should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:116:1: exported method NameTemplate.GetNamespaceFromSegmentArray should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:120:1: exported method NameTemplate.GetServiceFromSegmentArray should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:124:1: exported method NameTemplate.GetTypeFromSegmentArray should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:135:1: exported method NameTemplate.GetSymbolFromSegmentArray should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:167:1: exported method NameTemplate.IsValid should have comment or be unexported middleware/kubernetes/nametemplate/nametemplate.go:182:6: exported type NameValues should have comment or be unexported middleware/kubernetes/util/util.go:1:1: package comment should be of the form "Package util ..." middleware/kubernetes/util/util.go:27:2: exported const WildcardStar should have comment (or a comment on this block) or be unexported middleware/proxy/lookup.go:66:1: exported method Proxy.Forward should have comment or be unexported middleware/proxy/proxy.go:24:6: exported type Client should have comment or be unexported middleware/proxy/proxy.go:107:1: exported function Clients should have comment or be unexported middleware/proxy/reverseproxy.go:10:6: exported type ReverseProxy should have comment or be unexported middleware/proxy/reverseproxy.go:16:1: exported method ReverseProxy.ServeDNS should have comment or be unexported middleware/proxy/upstream.go:42:6: exported type Options should have comment or be unexported ~~~ I plan on reworking the proxy anyway, so I'll leave that be.
-
- 22 Sep, 2016 5 commits
-
-
Manuel Alejandro de Brito Fontes authored
Revert k8s changes
-
Manuel de Brito Fontes authored
-
Miek Gieben authored
-
Manuel Alejandro de Brito Fontes authored
-
Miek Gieben authored
Cleanup the errors and removed deadcode along the way. The leaves some error laying around, mostly about commenting exported identifier. We should look hard if those really are needed.
-
- 20 Sep, 2016 1 commit
-
-
Zhipeng JIANG authored
-
- 19 Sep, 2016 3 commits
-
-
Miek Gieben authored
For some reasons there was a dnsserver/middleware.go that defined the middleware handlers. This code was a repeat from middleware/middleware.go. Removed dnsserver/middleware.go and replaced all uses of dnsserver.Middleware with middleware.Middleware. Added dnsserver/address_test.go to test the zone normalization (and to improve the test coverage). The deleted file will also improve the test coverage :)
-
Miek Gieben authored
This is "infrastructure/meta" code, don't need to see it.
-
Yong Tang authored
This fix adds the codecov.io process with travis-ci integration, so that code coverage could be processed and displayed with codecov.io. Since go cannot use test profile flag with multiple packages, we have to iterate through packages with `coverage.sh`. Some consolidation could be done by combining them into one `make test`. Will do some consolidation in a follow up PR. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 18 Sep, 2016 8 commits
-
-
Shawn Smith authored
-
Miek Gieben authored
Do linux last, so my go install isn't messed up. Use gh-release from PATH.
-
Miek Gieben authored
Document the release process and encode it in Makefile.release. We use gh-release to minimize the amount of effort required.
-
Miek Gieben authored
Some small additions to the documentation.
-
Miek Gieben authored
-
Miek Gieben authored
When no Corefile is given, default to loading the whoami middleware on the default port (2053). Also add back the -port flag that allows you to override the default port. Further cleanup the startup messages and use caddy's OnStartupComplete() to blurp out which zones and ports we have. These can be suppressed with the -quiet flag. Normal startup: miek.nl.:1053 miek.nl2.:1053 example.org.:1054 2016/09/17 20:41:19 [INFO] CoreDNS-001 starting CoreDNS-001 starting with the -quiet flag: 2016/09/17 20:41:34 [INFO] CoreDNS-001 starting
-
Miek Gieben authored
Hook it up properly by adding it to the directives list. And add the Target to the SRV record to actually return valid DNS messages.
-
Miek Gieben authored
Add a new middleware that tells you who you are; IP, port and transport is echoed back. Also some various cleanup and documentation improvements while at it: * ResponseWriter: improve the documentation of these helper functions. * And add an NextHandler for use in tests. Make chaos_test.go and * whoam_test.go use it.
-
- 17 Sep, 2016 1 commit
-
-
Yong Tang authored
This fix tries to fix 261 where proxy upstream parser is not able to parse upstream correctly. Several test cases have also been added to cover the changes and prevent regression in the future. This fix fixes 261. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 16 Sep, 2016 2 commits
-
-
Yong Tang authored
Kubernetes moves informer and controller to pkg/client/cache, see: https://github.com/kubernetes/kubernetes/pull/32718 As a result, coredns build is broken. This fix fixes the build by making related change with kubernetes. Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
* Removed lumberjack from coremain As is mentioned in 251, this fix removed lumberjack from coremain. Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Remove lumberjack from log middleware As mentioned in 251, lumberjack is not suitable for applications like CoreDNS so it is removed from the log middleware. Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Update log/README.md as lumberjack has been removed Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Adjust default log output from `ioutil.Discard` to `os.Stdout` Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 13 Sep, 2016 1 commit
-
-
Nagy Károly Gábriel authored
-
- 10 Sep, 2016 1 commit
-
-
Miek Gieben authored
Stop the caddy message and start our own init notifications. Log the version of CoreDNS when starting up. Fix all middleware's setup functions so that return the error prefixed with *which* middleware was failing; leads to better debuggable errors when starting up.
-
- 07 Sep, 2016 3 commits
-
-
Miek Gieben authored
Fix some of the documentation in the process.
-
Miek Gieben authored
Move all (almost all) Go files in middleware into their own packages. This makes for better naming and discoverability. Lot of changes elsewhere to make this change. The middleware.State was renamed to request.Request which is better, but still does not cover all use-cases. It was also moved out middleware because it is used by `dnsserver` as well. A pkg/dnsutil packages was added for shared, handy, dns util functions. All normalize functions are now put in normalize.go
-
Yong Tang authored
This commit adds a simple test of `TestHealth` for the middleware of health so that there is basic coverage. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 06 Sep, 2016 1 commit
-
-
Miek Gieben authored
Change to be inline with latest caddy changes, caddy.CaddyfileFromPipe requires servertype argument. Fixes: #243
-
- 05 Sep, 2016 1 commit
-
-
Miek Gieben authored
* play around with fs idea * docs and fix test * better docs
-
- 03 Sep, 2016 2 commits
-
-
Miek Gieben authored
Better logging for NSEC3
-
Miek Gieben authored
When dropping NSEC3 records provide better logging and add test for NSEC3 records.
-
- 31 Aug, 2016 2 commits
-
-
Miek Gieben authored
-
Brandon Philips authored
-
- 30 Aug, 2016 1 commit
-
-
Miek Gieben authored
Update the file and dnssec docs and glarify what is implement and that we only do NSEC.
-
- 29 Aug, 2016 1 commit
-
-
Miek Gieben authored
Fix the code copied from Caddy to refer to Corefile and make 'coredns' with flags pickup a local Corefile. Also remove some references to Caddy in the docs and output of coredns. Fixes #235
-
- 28 Aug, 2016 4 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
There is no good reason to be different than Caddy and allows us to piggyback on it's documentation.
-
Miek Gieben authored
-
- 25 Aug, 2016 1 commit
-
-
Miek Gieben authored
Adjust documentation for k8s and put contents of the k8sCorefile in the README.md
-