diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/service/dns/forwarding/domain/node.def | 4 | ||||
-rw-r--r-- | templates/service/dns/forwarding/domain/node.tag/server/node.def | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/service/dns/forwarding/domain/node.def b/templates/service/dns/forwarding/domain/node.def new file mode 100644 index 00000000..bdd82752 --- /dev/null +++ b/templates/service/dns/forwarding/domain/node.def @@ -0,0 +1,4 @@ +tag: +type: txt +help: DNS domain to forward to a local server +commit:expression: $VAR(./server/) != ""; "Error: No server configured for the domain $VAR(@)" diff --git a/templates/service/dns/forwarding/domain/node.tag/server/node.def b/templates/service/dns/forwarding/domain/node.tag/server/node.def new file mode 100644 index 00000000..3dec7d5d --- /dev/null +++ b/templates/service/dns/forwarding/domain/node.tag/server/node.def @@ -0,0 +1,2 @@ +type: ipv4 +help: DNS server to forward queries |