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 Feb, 2017 7 commits
-
-
Bob Wasniak authored
* Require Field for rewrite rules * review feedback changes * fix ut * fix typo, add warning message
-
Miek Gieben authored
-
Miek Gieben authored
Add proxy_proto and re-instate proto to be the protocol of the incoming query ("tcp" or "udp"). -
Chris O'Haver authored
* check for no namespace filter * integration test
-
Miek Gieben authored
-
Chris O'Haver authored
* set zone for cidr based PTRs * set zone to request
-
Miek Gieben authored
Fix the except keyword usage - the config would allow it, but it was not enforced in the code. Turns out that **FROM** was also not enforced, fix both, by (basically) copying the code from Caddy. Update the README and tests. Locally test as well, shows that this works: ~~~ .:1053 { proxy miek.nl 8.8.8.8:53 { except a.miek.nl } proxy a.miek.nl 8.8.4.4:53 errors stdout log stdout } ~~~ And gives the desired results, not having a proxy line for `a.miek.nl` results in a SERVFAIL (as expected). Fixes #502
-
- 07 Feb, 2017 2 commits
-
-
John Belamaric authored
-
Miek Gieben authored
* middleware/proxy: absorb httpproxy Move the httproxy into proxy. This adds and Exchanger interface which is used to exchange the messages with the upstream. The https_google upstream will re-resolve itself and update the upstream hosts used every 300s. * Remove and add TODO
-
- 03 Feb, 2017 1 commit
-
-
Chris O'Haver authored
* add cidrs opt * remove state data from middleware object * update k8s docs * Add integration tests * add unit tests for cidr and pods config * more README fixes, separate dev notes * adjust section headers * fix typo
-
- 02 Feb, 2017 1 commit
-
-
Chris O'Haver authored
* add cidrs opt * remove state data from middleware object
-
- 01 Feb, 2017 2 commits
-
-
John Belamaric authored
The gRPC server middleware[1] needs access to the Server object in order to push the unpacked Msg through the normal middleware pipeline. These are the changes to core needed to make that possible. [1] https://github.com/infobloxopen/coredns-grpc
-
Bob Wasniak authored
* Use go generate to build middleware setup based on middleware.cfg Init default config * generated files * Move gen to an isolated area * rename files * PR review updates * undo readme
-
- 30 Jan, 2017 1 commit
-
-
Yong Tang authored
This fix fixes several `go fmt`, `go lint`, and `go vet` issues, to make goreportcard happy: https://goreportcard.com/report/github.com/miekg/corednsSigned-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 24 Jan, 2017 2 commits
-
-
John Belamaric authored
Adds a middleware to enable tracing with OpenTracing/OpenZipkin. Enabling tracing will have a large impact on performance so it is not advisable in production.
-
Chris O'Haver authored
-
- 23 Jan, 2017 2 commits
-
-
devnev authored
-
Dmytro Kislov authored
-
- 22 Jan, 2017 2 commits
-
-
Chris O'Haver authored
-
Miek Gieben authored
Add more words about how to specify the zone:port in a Corefile. Fixes #489
-
- 20 Jan, 2017 1 commit
-
-
Chris O'Haver authored
* Add pod cache and verified pod responses * add ip indexing for pod cache
-
- 19 Jan, 2017 1 commit
-
-
Miek Gieben authored
This blows up prometheus (panic in CoreDNS) and is not that handy to have.
-
- 16 Jan, 2017 1 commit
-
-
John Belamaric authored
Add txt response per k8s spec
-
- 15 Jan, 2017 3 commits
-
-
Chris OHaver authored
-
Miek Gieben authored
By defining and using an proxy.Exchanger interface we make the proxy more generic and we can then fold back httproxy into proxy. This overrides #463 and #473 and should make futures extensions rather trivial * Add docs that talk about `protocol` and how to set it. * middleware/proxy: rename New to NewLookup It's used as a Lookup mechanism not as a completely new proxy, reflect that in the name. * Set maxfails to 3 by default when looking up names. Most of the changes have been copied from https://github.com/johnbelamaric/coredns/pull/1/files
-
Chris O'Haver authored
* dont require/allow "_" prefix for srv wildcard fields * streamline parse/validation of req name * removing nametemplate * error when zone not found, loopify unit tests
-
- 13 Jan, 2017 1 commit
-
-
Chris O'Haver authored
* return servfail for pod rqsts when pods disabled * Add integration test for disabled pod mode
-
- 12 Jan, 2017 4 commits
-
-
John Belamaric authored
* Use common TLS parsing routine for etcd Change to use the new common routine, and update the docs to reflect the different options for passing TLS configuration. * Move middleware/tls to middleware/pkg/tls This was put in the wrong place originally.
-
Miek Gieben authored
Create a small speedup running the tests: PASS ok github.com/miekg/coredns/test 10.329s PASS ok github.com/miekg/coredns/test 6.079s Skip the etcd ones. Doing the middleware/*/*_test ones doesn't yield any speedup as these are still done on a per directory basis.
-
Miek Gieben authored
Add deadline to break the connection. We use the default of 5 seconds. After this the backend is marked unhealthy and not used for some time. Fixes #467
-
Chris O'Haver authored
-
- 10 Jan, 2017 1 commit
-
-
John Belamaric authored
* Add common TLS config routines These routines can be used to load TLS configs based upon the args in the Corefile. * Add common routine for Corefile arg handling Add the NewTLSConfigFromArgs routine so that you can just pass in the Corefile args and get a tls.Config. This ensures the parameters are handled consistently across middleware. * Change to varargs style params Change to use args ...string instead of []string. Add documentation of what each call means.
-
- 06 Jan, 2017 1 commit
-
-
Miek Gieben authored
This middleware allows playing with responses. Only one type is implemented: it allows you to drop queries. I.e. withhold the response from the client.
-
- 05 Jan, 2017 1 commit
-
-
Chris O'Haver authored
* handle A/PTR/SRV for headless services/endpoints * error early if _proto will produce nothing * remove wc params + various style tweaks * Release 004 * handle A/PTR/SRV for headless services/endpoints * error early if _proto will produce nothing * remove wc params + various style tweaks * optimize srv prefix validation * poking travis * reduce response sizes, clean func params
-
- 01 Jan, 2017 1 commit
-
-
Miek Gieben authored
-
- 21 Dec, 2016 1 commit
-
-
Miek Gieben authored
This checks if the next middleware to be called is nil, and if so returns ServerFailure and an error. This makes the next calling more robust and saves some lines of code. Also prefix the error with the name of the middleware to aid in debugging.
-
- 15 Dec, 2016 2 commits
-
-
John Belamaric authored
Return no items if less than 3 items in service segments
-
Dmytro Kislov authored
-
- 14 Dec, 2016 1 commit
-
-
Miek Gieben authored
When asked for the NSset include glue and possible sigs in the additional section. Fixes #411
-
- 09 Dec, 2016 1 commit
-
-
Miek Gieben authored
This is required so that a resolver can upade the referral NSset with the NSset at the child. Update tests as well.
-