summaryrefslogtreecommitdiffstats
path: root/daemon/lua/kres-gen-31.lua
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2023-02-09 10:58:13 +0100
committerVladimír Čunát <vladimir.cunat@nic.cz>2023-06-12 10:32:28 +0200
commit4c61643d1e4983525a9b3f4958b1839149a1981f (patch)
treeb7f740bf076fc3c489a50c455e253d1226a7c747 /daemon/lua/kres-gen-31.lua
parentci lint:scan-build: adjust the error count (diff)
downloadknot-resolver-4c61643d1e4983525a9b3f4958b1839149a1981f.tar.xz
knot-resolver-4c61643d1e4983525a9b3f4958b1839149a1981f.zip
lib/rules: add NXDOMAIN (pseudo-)zones
It's questionable which SOA owner to use, but some users will surely prefer NXDOMAINs to empty zones.
Diffstat (limited to 'daemon/lua/kres-gen-31.lua')
-rw-r--r--daemon/lua/kres-gen-31.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua
index 370de143..05b9e2cf 100644
--- a/daemon/lua/kres-gen-31.lua
+++ b/daemon/lua/kres-gen-31.lua
@@ -469,6 +469,7 @@ int kr_view_insert_action(const char *, const char *);
int kr_view_select_action(const struct kr_request *, knot_db_val_t *);
int kr_rule_tag_add(const char *, kr_rule_tags_t *);
int kr_rule_local_data_emptyzone(const knot_dname_t *, kr_rule_tags_t);
+int kr_rule_local_data_nxdomain(const knot_dname_t *, kr_rule_tags_t);
typedef struct {
int sock_type;
_Bool tls;