mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Updates to README
This commit is contained in:
@@ -14,7 +14,8 @@ Currently CoreDNS is able to:
|
||||
* Retrieve zone data from primaries, i.e. act as a secondary server.
|
||||
* Loadbalancing of responses.
|
||||
* Allow for zone transfers, i.e. act as a primary server.
|
||||
* Use etcd as a backend, i.e. a 94.5% replacement for
|
||||
* Caching
|
||||
* Use etcd as a backend, i.e. a 98.5% replacement for
|
||||
[SkyDNS](https://github.com/skynetservices/skydns).
|
||||
* Serve as a proxy to forward queries to some other (recursive) nameserver.
|
||||
* Rewrite queries (both qtype, qclass and qname).
|
||||
|
||||
13
middleware/cache/README.md
vendored
13
middleware/cache/README.md
vendored
@@ -20,10 +20,19 @@ A cache mostly makes sense with a middleware that is potentially slow, i.e. a pr
|
||||
answer, or to minimize backend queries for middleware like etcd. Using a cache with the file
|
||||
middleware essentially doubles the memory load with no concealable increase of query speed.
|
||||
|
||||
The minimum TTL allowed on resource records is 5 seconds.
|
||||
|
||||
## Examples
|
||||
|
||||
~~~
|
||||
cache
|
||||
cache 10
|
||||
~~~
|
||||
|
||||
Enable caching for all zones.
|
||||
Enable caching for all zones, but cap everything to a TTL of 10 seconds.
|
||||
|
||||
~~~
|
||||
proxy . 8.8.8.8:53
|
||||
cache miek.nl
|
||||
~~~
|
||||
|
||||
Proxy to Google Public DNS and only cache responses for miek.nl (or below).
|
||||
|
||||
Reference in New Issue
Block a user