Romain LE DISEZ da92fe4c1a Cache all answers from nameservers in cname_lookup
Unlinke DNSException, NXDOMAIN and NoAnswer are not errors. Thus, they
should be cached so that a misconfiguration from a cname_lookup user do
not generate too many requests on the nameservers.

This patch cache NXDOMAIN and NoAnswer response for 60 seconds.

Change-Id: I1d3002bceaf5f5bee364fea6afe52cbf2aeb5fd2
2017-03-07 16:55:09 +01:00
..