]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
doc: grammar tweaks for recursordist lua-scripting 11042/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 28 Nov 2021 20:14:39 +0000 (15:14 -0500)
committerGitHub <noreply@github.com>
Sun, 28 Nov 2021 20:14:39 +0000 (15:14 -0500)
pdns/recursordist/docs/lua-scripting/index.rst

index cd56c8d8285332c7d7e0dedceaf2b1d2442940a2..b15bed8a4a82944e5fa15b917020d9522e8caa0d 100644 (file)
@@ -2,10 +2,9 @@ Scripting PowerDNS Recursor
 ===========================
 In the PowerDNS Recursor, it is possible to modify resolving behaviour using simple scripts written in the `Lua <http://www.lua.org>`_ programming language.
 
-These scripts can be used to quickly override dangerous domains, fix things that are wrong, for load balancing or for legal or commercial purposes.
-The scripts can also protect you or your users from malicious traffic.
+Lua scripts can be used for load balancing, legal reasons, commercial purposes, to quickly block dangerous domains or override problematic responses.
 
-Lua is extremely fast and lightweight, easily supporting hundreds of thousands of queries per second.
+Because Lua is extremely fast and lightweight, it easily supports hundreds of thousands of queries per second.
 The Lua language is explained very well in the excellent book `Programming in Lua <http://www.amazon.com/exec/obidos/ASIN/859037985X/lua-pilindex-20>`_.
 If you already have programming experience, `Learn Lua in 15 Minutes <http://tylerneylon.com/a/learn-lua/>`_ is a great primer.
 
@@ -13,7 +12,7 @@ For extra performance, a Just In Time compiled version of Lua called `LuaJIT <ht
 
 .. note::
    PowerDNS Recursor is capable of handling many queries simultaneously using cooperative user space multi-threading.
-   Blocking functions called from Lua are not cooperative, they will monopolize a worker thread while being blocked.
+   Blocking functions called from Lua are not cooperative and will monopolize a worker thread while blocked.
    Avoid blocking calls.
 
 .. toctree::