1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
// 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": "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.
}
|