]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/policy: updated readme
authorMarek Vavruša <marek.vavrusa@nic.cz>
Fri, 11 Dec 2015 13:29:37 +0000 (14:29 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Fri, 11 Dec 2015 13:29:37 +0000 (14:29 +0100)
modules/policy/README.rst

index 4c04bff95630c087e9bc20a70f972033977007f0..96a010dbbbe78159130b1c99f555f978be1d3496 100644 (file)
@@ -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)