summaryrefslogtreecommitdiff
path: root/templates/service/dns
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service/dns')
-rw-r--r--templates/service/dns/dynamic/node.def1
-rw-r--r--templates/service/dns/forwarding/node.def1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/service/dns/dynamic/node.def b/templates/service/dns/dynamic/node.def
index 99356334..54615bea 100644
--- a/templates/service/dns/dynamic/node.def
+++ b/templates/service/dns/dynamic/node.def
@@ -1,2 +1,3 @@
+priority: 919
help: Configure Dynamic DNS
commit:expression: $VAR(./interface/@@) != ""; "At least one interface must be set to send DDNS updates for"
diff --git a/templates/service/dns/forwarding/node.def b/templates/service/dns/forwarding/node.def
index 12d7bb51..2c42b1c3 100644
--- a/templates/service/dns/forwarding/node.def
+++ b/templates/service/dns/forwarding/node.def
@@ -1,3 +1,4 @@
+priority: 918
help: Configure DNS forwarding
commit:expression: $VAR(./listen-on) != ""; "At least one interface must be configured for DNS forwarding parameter 'listen-on'"
delete:expression: "touch /tmp/dnsmasq.$PPID"