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 .
- 10 Apr, 2016 1 commit
-
-
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 11 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
-
Miek Gieben authored
Rename latency to duration.
-
- 03 Apr, 2016 8 commits
-
-
Miek Gieben authored
-
Miek Gieben authored
Fix some file/secondary issues when parsing a Corefile, also allow for multiple origins to be specified. Also don't fail on startup when a zonetransfer fails. Fixes: #54
-
Miek Gieben authored
-
Miek Gieben authored
Allow specifying a primary server and retrieve the zone's content. Add tests and an Expired bool to zone struct, to stop server zones that are expired. The zone is retrieved on Startup, no updates of changed content are done. We also don't respond to notifies yet.
-
Miek Gieben authored
Some doc updates and tweaks.
-
Miek Gieben authored
This adds a bunch of supporting code to send notifies to a primary name server.
-
Miek Gieben authored
Change from SERVFAIL to diff. between error and no such zone hosted. Fixes: #68
-
Miek Gieben authored
Drop the use of dns.RR when in fact the only thing we use is the name and type of the RR. Cleans up a bunch of stuff and also stops the weird making of dns.RRs just for a lookup. Should safe some memory as well. Fixes: #66
-
- 02 Apr, 2016 1 commit
-
-
Miek Gieben authored
When looking for a name in tree, return wether we got to a longer one - if so we had an ent. Add tests + dnssec tests and refactor the tests as well a bit.
-