Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
This fixes a crash when we resolve (or try to) an external CNAME
when no proxy is set.
Add test as well.
|
|
(#547)
This fix fixes import path from
`github.com/miekg/coredns`
->
`github.com/coredns/coredns`
|
|
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
|
|
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.
|
|
|
|
This add a highlevel integration test for zone reloading. It also
fixes a data race in the actual reloading process.
|