]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use an existing name for CANME chasing
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 4 Feb 2022 08:12:31 +0000 (09:12 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 4 Feb 2022 08:12:31 +0000 (09:12 +0100)
pdns/recursordist/contrib/powerdns-example-script.lua

index 6a83d23d138641d060a0c05b75eb593af7b58e2a..979f3352131a8e1df1703678bfc494230114d1ef 100644 (file)
@@ -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;