From: Remi Gacogne Date: Thu, 19 Jan 2017 19:42:37 +0000 (+0100) Subject: Merge pull request #4787 from rgacogne/dnsdist-edit-ttls X-Git-Tag: rec-4.1.0-alpha1~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124f7f256039040fd46182ac4f9d3b9cdf5b2fc4;p=thirdparty%2Fpdns.git Merge pull request #4787 from rgacogne/dnsdist-edit-ttls dnsdist: Allow TTL alteration via Lua --- 124f7f256039040fd46182ac4f9d3b9cdf5b2fc4 diff --cc pdns/README-dnsdist.md index 18ca113a35,c03d9bb308..efbfd0f1c2 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@@ -570,9 -571,10 +571,11 @@@ Valid return values for `LuaAction` fun * DNSAction.None: continue to the next rule * DNSAction.Nxdomain: return a response with a NXDomain rcode * DNSAction.Pool: use the specified pool to forward this query + * DNSAction.Refused: return a response with a Refused rcode * DNSAction.Spoof: spoof the response using the supplied IPv4 (A), IPv6 (AAAA) or string (CNAME) value + The same feature exists to hand off some responses for Lua inspection, using `addLuaResponseAction(x, func)`. + DNSSEC ------ To provide DNSSEC service from a separate pool, try: