description: "The path to a file containing the code of the Lua function that will alter the message"
- name: "drop"
description: "Drop the packet"
-- name: "SetEDNSOption"
- description: "Add arbitrary EDNS option and data to the query. Any existing EDNS content with the same option code will be overwritten. Subsequent rules are processed after this action"
- parameters:
- - name: "code"
- type: "u32"
- description: "The EDNS option number"
- - name: "data"
- type: "String"
- description: "The EDNS0 option raw content"
- name: "ERCode"
description: "Reply immediately by turning the query into a response with the specified EDNS extended rcode"
skip-cpp: true
- name: "ipv6"
type: "u16"
description: "The IPv6 netmask length"
+- name: "SetEDNSOption"
+ description: "Add arbitrary EDNS option and data to the query. Any existing EDNS content with the same option code will be overwritten. Subsequent rules are processed after this action"
+ parameters:
+ - name: "code"
+ type: "u32"
+ description: "The EDNS option number"
+ - name: "data"
+ type: "String"
+ description: "The EDNS0 option raw content"
- name: "SetExtendedDNSError"
description: "Set an Extended DNS Error status that will be added to the response corresponding to the current query. Subsequent rules are processed after this action"
parameters: