]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update document
authorY7n05h <Y7n05h@protonmail.com>
Thu, 9 Jun 2022 15:04:12 +0000 (23:04 +0800)
committerY7n05h <Y7n05h@protonmail.com>
Thu, 9 Jun 2022 15:04:12 +0000 (23:04 +0800)
pdns/dnsdistdist/docs/reference/ebpf.rst

index a7f85018b5d6e89c786d0acea22e4b329b8e7f18..0ee6fd5bcecc5fa41b2da9044b54bcd9397181d5 100644 (file)
@@ -89,8 +89,8 @@ These are all the functions, objects and methods related to the :doc:`../advance
 
     DNSDist eBPF code first checks if an exact IP match is found, then if a range matches, and finally if a DNSName does.
 
-    :param string Netmask: The ip range to block or unblock
-    :param int action: set ``action``  to ``0`` to unblock a range, set ``action`` to ``1`` to block a range.
+    :param string Netmask: The ip range to block, allow or truncate
+    :param int action: set ``action``  to ``0`` to allow a range, set ``action`` to ``1`` to block a range, set ``action`` to ``2`` to truncate a range.
     :param bool force: When ``force`` is set to true, DNSDist always accepts adding a new item to BPF maps, even if the item to be added may already be included in the larger network range.
 
   .. method:: BPFFilter:blockQName(name [, qtype=255])