dnsdist: Update deprecated syntax used in dist configuration file
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Thu, 15 Mar 2018 09:18:49 +0000 (10:18 +0100)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Thu, 15 Mar 2018 09:18:49 +0000 (10:18 +0100)
pdns/dnsdistconf.lua

index ed0b7915d0fa3bbe07c816a05c315c227096a894..5c8c50a8fbb042bb5bcec94f0adcff7fac5de11e 100644 (file)
@@ -44,7 +44,7 @@ addAction("192.168.1.0/24", PoolAction("abuse"))
 
 -- send the queries for the "com" suffix to the "abuse"
 -- pool, but only up to 100 qps
-addAction("com.", QPSPoolRule(100, "abuse"))
+addAction("com.", QPSPoolAction(100, "abuse"))
 
 -- declare a Lua action function, routing NAPTR queries
 -- to the abuse pool