summaryrefslogtreecommitdiffstats
path: root/doc/examples/ddns/template.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:36:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:36:04 +0000
commit040eee1aa49b49df4698d83a05af57c220127fd1 (patch)
treef635435954e6ccde5eee9893889e24f30ca68346 /doc/examples/ddns/template.json
parentInitial commit. (diff)
downloadisc-kea-c66cc8d3181fbc1b05850876c126fbc1524a7bff.tar.xz
isc-kea-c66cc8d3181fbc1b05850876c126fbc1524a7bff.zip
Adding upstream version 2.2.0.upstream/2.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/examples/ddns/template.json')
-rw-r--r--doc/examples/ddns/template.json125
1 files changed, 125 insertions, 0 deletions
diff --git a/doc/examples/ddns/template.json b/doc/examples/ddns/template.json
new file mode 100644
index 0000000..601e5cf
--- /dev/null
+++ b/doc/examples/ddns/template.json
@@ -0,0 +1,125 @@
+// This file may be used a template for constructing DHCP-DDNS JSON
+// configuration.
+//
+// It must start with a left-curly-bracket.
+{
+
+"DhcpDdns" :
+{
+//
+// -------------- Global Parameters ----------------
+//
+// All of the global parameters have default values as shown. If these
+// are satisfactory you may omit them.
+//
+// "ip-address" : "127.0.0.1",
+// "port" : 53001,
+// "dns-server-timeout" : 100,
+// "ncr-protocol" : "UDP"
+// "ncr-format" : "JSON"
+
+//
+// ----------------- Control Socket -----------------
+//
+
+// "control-socket":
+// {
+// "socket-type": "unix",
+// "socket-name": "/tmp/kea-ddns-ctrl-socket"
+// },
+
+//
+// ----------------- Forward DDNS ------------------
+//
+ "forward-ddns" :
+ {
+ "ddns-domains" :
+ [
+// {
+// "name" : "<zone name 1>",
+// "key-name" : "<key name>",
+// "dns-servers" :
+// [
+// {
+// "ip-address" : "<ip address>"
+// ,"port" : 53
+// }
+// ,
+// {
+// next DNS server for this DdnsDomain
+// }
+// :
+// ]
+// }
+// ,
+// {
+// next Forward DdnsDomain
+// }
+// :
+ ]
+ },
+
+//
+// ----------------- Reverse DDNS ------------------
+//
+ "reverse-ddns" :
+ {
+ "ddns-domains" :
+ [
+// {
+// "name" : "<reverse zone name 1>",
+// "key-name" : "<key name>",
+// "dns-servers" :
+// [
+// {
+// "ip-address" : "<ip address>"
+// ,"port" : 53
+// }
+// ,
+// {
+// next DNS server for this DdnsDomain
+// }
+// :
+// ]
+// }
+// ,
+// {
+// next Reverse DdnsDomain
+// }
+// :
+ ]
+ },
+//
+// ------------------ TSIG keys ---------------------
+//
+ "tsig-keys" :
+ [
+// {
+// "name" : "<key name>",
+// "algorithm" : "<algorithm name>",
+// Valid values for algorithm are: HMAC-MD5, HMAC-SHA1,
+// HMAC-SHA224, HMAC-SHA256,
+// HMAC-SHA384, HMAC-SHA512
+// "digest-bits" : 256,
+// Minimum truncated length in bits.
+// Default 0 (means truncation is forbidden).
+// "secret" : "<shared secret value>"
+// }
+// ,
+// {
+// next TSIG Key
+// }
+ ]
+
+// Logging
+// ,"loggers":
+// [
+// {
+// "name": "kea-dhcp-ddns",
+// "severity": "info"
+// }
+// ]
+}
+
+// It must end with an right-curly-bracket.
+}