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 .
- 13 Apr, 2016 4 commits
-
-
Miek Gieben authored
For the match function use the proper thing from go dns. Fix all callers and tests to use this. Fixes: #107
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
Test the handling of EDNS0 payloads and forwarding to stubzones servers.
-
- 11 Apr, 2016 5 commits
-
-
Miek Gieben authored
We don't need to network to do tests, we up enough local servers to we don't need to forward to,s say 8.8.8.8
-
Miek Gieben authored
-
Miek Gieben authored
Simple rename of Caddy/CoreDNS and some smallish cleanups. See #1
-
Miek Gieben authored
Rename to test and name the toplevel tests dir to test for consitency.
-
Miek Gieben authored
Add a fullblown testing server. This allows us to do integration tests. Also add a basic proxy test. Further tests will test etcd proxy and stub zone communication and other "wildish" configurations. Redo the server startup, so we can access the ports it listens on when it has started up (with dns.ActivateAndServer). Extend the .travis file to download etcd and test for that as well. Put integration tests in test dir
-
- 10 Apr, 2016 2 commits
-
-
Miek Gieben authored
This does not fix the reload issue, but will give us flexibility to access the packetConn and listener to make this all work.
-
Miek Gieben authored
-
- 09 Apr, 2016 3 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
Tests updated as well and all the middleware. And Prometheus renamed to metrics (directive is still prometheus).
-
Miek Gieben authored
Split up the previous changes a bit. This PR only returns the expected error when the received packet has the wrong EDNS version. EDNS0 handling in the middleware needs a nicer abstraction, like ReflectEdns() or something.
-
- 08 Apr, 2016 2 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
Add port number to health check. Add tests the rewrite middleware. Fixes #36
-
- 07 Apr, 2016 3 commits
-
-
Miek Gieben authored
We should not check the port of the request, we *should* actually normalize it to port 53 - as that will probably be the address of the server. Still need to double check if this will work if the axfr should actually be done from a different port. That will come later, this is good enough for now.
-
Miek Gieben authored
More tests and add RemoteAddr to State, prolly LocalAddr will be useful as well. Fixed and tested IsNotify method.
-
Miek Gieben authored
Test shouldTransfer by upping a testserver and sending the SOA query. Remove state from DefaultErrorHandler and just get it from the request. Add more logging to show what is going on. This also adds the infrastructure for future tests.
-
- 06 Apr, 2016 6 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
If monitoring is enabled for one zone, also enable it for when the server reports REFUSED. Normally the metrics are only enabled if you enter the middleware, with this you'll see REFUSED queries. Each of these are reported agains the root zone otherwise
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
Start http handler on port 8080 and return OK. Also add some documentation fixes for the prometheus middleware.
-
- 05 Apr, 2016 5 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
For prometheus use the plain value, not a pointer and change all usages. Allow AXFR to be requested over udp as well and some other more log printed when commencing an AXFR.
-
Miek Gieben authored
Respond to notifies and allow a secondary to follow the SOA parameters to update a zone from a primary. Also sprinkle it with logging. Also extend monitoring to include qtype in more metrics.
-
Miek Gieben authored
Put some more logging in CoreDNS.
-
- 04 Apr, 2016 10 commits
-
-
Miek Gieben authored
Remove placeholder for the docs inside the logs middleware and explain response codes better.
-
Miek Gieben authored
-
Miek Gieben authored
Make the CH middleware actually work. Needs a bit of a hack to route the fake version.bind and friends zone to the correct handler. Fiddle with the order in directive.go so that CH queries get logged as well. Secondly add class rewriting to the rewrite middleware handler and also log the class by default.
-
Miek Gieben authored
-
Miek Gieben authored
Cache the size and the do bit whenever someone asked for it. We can probably add more: PASS BenchmarkStateDo-4 100000000 11.9 ns/op BenchmarkStateSize-4 5000000 265 ns/op ok github.com/miekg/coredns/middleware 2.828s PASS BenchmarkStateDo-4 1000000000 2.86 ns/op BenchmarkStateSize-4 500000000 3.10 ns/op ok github.com/miekg/coredns/middleware 5.032s This PR also includes some testing cleanups as well.
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
-
Miek Gieben authored
-