]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Update the example configuration, as suggested by @phonedph1
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Nov 2023 15:33:55 +0000 (16:33 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Dec 2023 13:00:51 +0000 (14:00 +0100)
pdns/dnsdistconf.lua

index 2b218d5a993487b1cfb5e132892242539a495282..93e061be5d9eae597992507cc4580fe6ca60d214 100644 (file)
 
 -- send the queries for selected domain suffixes to the servers
 -- in the 'abuse' pool
--- addAction({"abuse.example.org.", "xxx."}, PoolAction("abuse"))
+-- addAction(SuffixMatchNodeRule({"abuse.example.org.", "xxx."}), PoolAction("abuse"))
 
 -- drop queries for this exact qname
 -- addAction(QNameRule("drop-me.example.org."), DropAction())
 
 -- send the queries from a selected subnet to the
 -- abuse pool
--- addAction("192.0.2.0/24", PoolAction("abuse"))
+-- addAction(NetmaskGroupRule("192.0.2.0/24"), PoolAction("abuse"))
 
 -- Refuse incoming AXFR, IXFR, NOTIFY and UPDATE
 -- Add trusted sources (slaves, masters) explicitely in front of this rule