From: Marek VavruĊĦa Date: Fri, 11 Dec 2015 13:29:37 +0000 (+0100) Subject: modules/policy: updated readme X-Git-Tag: v1.0.0-beta3~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d1246ba8dacd9b4ca422fc566e8ebeaf798d556;p=thirdparty%2Fknot-resolver.git modules/policy: updated readme --- diff --git a/modules/policy/README.rst b/modules/policy/README.rst index 4c04bff95..96a010dbb 100644 --- a/modules/policy/README.rst +++ b/modules/policy/README.rst @@ -63,11 +63,25 @@ Example configuration Properties ^^^^^^^^^^ -.. envvar:: policy.PASS (number) -.. envvar:: policy.DENY (number) -.. envvar:: policy.DROP (number) -.. envvar:: policy.TC (number) -.. envvar:: policy.FORWARD (function) +.. envvar:: policy.PASS + + Pass-through all queries matching the rule. + +.. envvar:: policy.DENY + + Respond with NXDOMAIN to all queries matching the rule. + +.. envvar:: policy.DROP + + Drop all queries matching the rule. + +.. envvar:: policy.TC + + Respond with empty answer with TC bit set (if the query came through UDP). + +.. envvar:: policy.FORWARD (address) + + Forward query to given IP address. .. function:: policy:add(rule)