From: Vasek Sraier Date: Thu, 8 Oct 2020 11:24:22 +0000 (+0200) Subject: policy: changed example domain in documentation X-Git-Tag: v5.2.0~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dc867edf32300d34ca3c30073c0b027f209ce89;p=thirdparty%2Fknot-resolver.git policy: changed example domain in documentation --- diff --git a/modules/policy/README.rst b/modules/policy/README.rst index 01434d7ae..cc346783e 100644 --- a/modules/policy/README.rst +++ b/modules/policy/README.rst @@ -110,10 +110,10 @@ Following actions stop the policy matching on the query, i.e. other rules are no .. code-block:: lua - -- Whitelist 'www.badboy.cz' - policy.add(policy.pattern(policy.PASS, todname('www.badboy.cz.'))) - -- Block all names below badboy.cz - policy.add(policy.suffix(policy.DENY, {todname('badboy.cz.')})) + -- Whitelist 'good.example.com' + policy.add(policy.pattern(policy.PASS, todname('good.example.com.'))) + -- Block all names below example.com + policy.add(policy.suffix(policy.DENY, {todname('example.com.')})) .. py:attribute:: DENY