From: bert hubert Date: Wed, 30 Mar 2016 13:10:05 +0000 (+0200) Subject: slightly improve RPZ documentation X-Git-Tag: dnsdist-1.0.0-beta1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad582555b7b3e4f5847ebf2f8433f4e8e4eea855;p=pdns slightly improve RPZ documentation --- diff --git a/docs/markdown/recursor/settings.md b/docs/markdown/recursor/settings.md index e8cbd6f7a..a57db3cea 100644 --- a/docs/markdown/recursor/settings.md +++ b/docs/markdown/recursor/settings.md @@ -417,16 +417,16 @@ DNS responses based on a policy loaded via a zonefile. Frequently, Response Policy Zones get to be very large, so it is customary to update them over IXFR. -An RPZ can be loaded from file or slaved from a master. To load from file, use: +An RPZ can be loaded from file or slaved from a master. To load from file, use for example: ``` -rpzFile("filename", ..settings.. ) +rpzFile("dblfilename", {defpol=Policy.Custom, defcontent="badserver.example.com"}) ``` -To slave from a master and start IXFR to get updates, use: +To slave from a master and start IXFR to get updates, use for example: ``` -rpzMaster("192.0.2.4", "policy.rpz", ..settings..) +rpzMaster("192.0.2.4", "policy.rpz", {defpol=Policy.Drop}) ``` In this example, 'policy.rpz' denotes the name of the zone to query for.