coredns/middleware
Miek Gieben 10db2a80df Cache (#126)
* Add middleware/cache

Add a caching middleware that caches nxdomain, nodata and successful
responses. It differentiates between DNSSEC on normal DNS replies.

Each reply is compress and scrubbed so it will fit the specific client
asking for it.

* first simple test, less exporting of stuff

* more

* Add middleware/cache

Add a caching middleware that caches nxdomain, nodata and successful
responses. It differentiates between DNSSEC on normal DNS replies.

Each reply is compressed and scrubbed so it will fit the specific client
asking for it. The TTL is decremented with the time spend in the cache.
There is syntax that allows you to cap the TTL for all records, no
matter what. This allows for a shortlived cache, just to absorb query
peaks.

+Tests

* cache test infrastructure

* Testing
2016-04-19 11:13:24 +01:00
..
cache Cache (#126) 2016-04-19 11:13:24 +01:00
chaos Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
errors Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
etcd Cache (#126) 2016-04-19 11:13:24 +01:00
file CNAMEs targets should be in answer section. 2016-04-16 17:55:11 +01:00
health Fix default address typo in health README 2016-04-13 10:19:09 +00:00
loadbalance Cache (#126) 2016-04-19 11:13:24 +01:00
log Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
metrics Fix metrics README 2016-04-14 07:00:16 +01:00
proxy Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
rewrite Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
secondary Add secondary support 2016-04-03 09:02:34 +01:00
test Stub forward/proxy tests (#108) 2016-04-12 21:30:08 +01:00
canonical.go middleware/file: Support delegations (#124) 2016-04-16 16:16:52 +01:00
canonical_test.go middleware/file: Support delegations (#124) 2016-04-16 16:16:52 +01:00
commands.go First commit 2016-03-18 20:57:35 +00:00
commands_test.go First commit 2016-03-18 20:57:35 +00:00
edns.go correct EDNS responses (#96) 2016-04-09 16:17:53 +01:00
edns_test.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
exchange.go Add etcd middleware 2016-03-23 10:41:40 +00:00
host.go Rename Standard to Normalize 2016-04-03 07:44:28 +01:00
middleware.go Documentation updates 2016-04-04 15:45:11 +00:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
name.go Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
rcode.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
recorder.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
recorder_test.go Use context.Context 2016-03-19 07:32:50 +00:00
replacer.go Fix NODATA/NXDOMAIN for unknown types in etcd (#113) 2016-04-12 23:26:46 +01:00
replacer_test.go Use context.Context 2016-03-19 07:32:50 +00:00
roller.go First commit 2016-03-18 20:57:35 +00:00
state.go Stub forward/proxy tests (#108) 2016-04-12 21:30:08 +01:00
state_test.go Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
zone.go Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00