From: Otto Moerbeek Date: Fri, 4 Feb 2022 08:12:31 +0000 (+0100) Subject: Use an existing name for CANME chasing X-Git-Tag: auth-4.7.0-alpha1~20^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d351201221e981b4e338698d2ed13691dc853513;p=thirdparty%2Fpdns.git Use an existing name for CANME chasing --- diff --git a/pdns/recursordist/contrib/powerdns-example-script.lua b/pdns/recursordist/contrib/powerdns-example-script.lua index 6a83d23d13..979f335213 100644 --- a/pdns/recursordist/contrib/powerdns-example-script.lua +++ b/pdns/recursordist/contrib/powerdns-example-script.lua @@ -79,7 +79,7 @@ function preresolve(dq) if malwareset:check(dq.qname) then - dq:addAnswer(pdns.CNAME, "xs.powerdns.com.") + dq:addAnswer(pdns.CNAME, "blog.powerdns.com.") dq.rcode = 0 dq.followupFunction = "followCNAMERecords" -- this makes PowerDNS lookup your CNAME return true;