Commit graph

11 commits

Author SHA1 Message Date
Miek Gieben
b1efd3736e Doc updates (#708)
A somewhat longer living PR to group documentation updates
2017-06-13 00:58:13 +01:00
Miek Gieben
36396e94ab typo Recode->Rcode 2017-06-05 07:28:26 +01:00
Miek Gieben
6d52827a8a doc update (#703) 2017-06-03 08:26:51 +01:00
Miek Gieben
26242cef1b Document fallthrough and fix rewrite (#537)
* Document fallthrough and fix *reverse*

While documenting the fallthrough behavior and testing it I noticed
the did not properly work. This PR does a tiny bit too much as it

- Documents fallthrough
- Fixes fallthrough in reverse
- Makes directives_generate complain on duplicate priorities
- Moved reverse *before* file in middleware.cfg
- Add a test that tests the reverse fallthrough behavior with a file
  backend

Fixes #515

* ....and fix the tests
2017-02-20 21:00:00 +00:00
Miek Gieben
219bfd0493 middleware/metrics: cleanup (#355)
* middleware/metrics: add more metrics

middleware/cache:
Add metrics for number of elements in the cache. Also export the total
size. Update README to detail the new metrics.

middleware/metrics

Move metrics into subpackage called "vars". This breaks the import
cycle and is cleaner. This allows vars.Report to be used in the
the dnsserver to log refused queries.

middleware/metrics: tests

Add tests to the metrics framework. The metrics/test subpackage allows
scraping of the local server. Do a few test scrape of the metrics that
are defined in the metrics middleware.

This also allows metrics integration tests to check if the caching and
dnssec middleware export their metrics correctly.

* update README

* typos

* fix tests
2016-10-26 10:01:52 +01:00
Miek Gieben
89a2912c87 Documentation updates (#340) 2016-10-18 07:47:18 +01:00
Miek Gieben
be3c0195b6 middleware.md: put in the same doc
Move middleware/middleware.md to middleware.md. This should be the
canonical place where to document how middlewares should look and act.
2016-10-17 07:51:44 +01:00
Miek Gieben
da5d7bea4b typos in middleware.md 2016-08-28 09:34:29 +01:00
Miek Gieben
fed51ea373 Clean up some references to Caddy
Simple rename of Caddy/CoreDNS and some smallish cleanups.

See #1
2016-04-11 07:59:30 +01:00
Miek Gieben
47fca9a8fc Proxy cleanups
Remove things not supported, fix docs.
2016-03-19 20:53:37 +00:00
Miek Gieben
6f5fe26e1f Add document detailing how the return code works for middleware 2016-03-19 19:56:58 +00:00