While we can pass every packet through the :func:`blockFilter` functions, it is also possible to configure :program:`dnsdist` to only hand off some packets for Lua inspection.
If you think Lua is too slow for your query load, or if you are doing heavy processing in Lua, this may make sense.
-To select specific packets for Lua attention, use :func:`addLuaAction` or :func:`addLuaReponseAction`.
+To select specific packets for Lua attention, use :func:`addLuaAction` or :func:`addLuaResponseAction`.
A sample configuration could look like this::
^^^^^^^^^^^^^^^^^^
.. versionadded:: 4.2
-Reponses that were marked as 'variable'. This could be because of EDNS
+Responses that were marked as 'variable'. This could be because of EDNS
Client Subnet or Lua rules that indicate this variable status (dependent on
time or who is asking, for example).