dnsimple / erldns

DNS server, in Erlang.
MIT License
402 stars 98 forks source link

Implement a response cache #60

Closed aeden closed 7 years ago

aeden commented 7 years ago

There is currently a packet cache, however this requires an exact match for the question and additional parts of the original packet. This issue is a proposal for a new cache after the packet cache that can look at parts of the question and additional and provide a cached response. This cache would likely be short-lived like the packet cache, although the TTL of the response cache could be adjustable.

aeden commented 7 years ago

After some research I have decided that the packet cache is actually the correct way to do this, however it may need to be improved a bit to allow better control over the cache for specific zones.