From: Thomas Markwalder Date: Thu, 1 Aug 2019 18:29:56 +0000 (-0400) Subject: [#649,!381] fixed ddns examples X-Git-Tag: Kea-1.6.1~10^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf700e837552ee325f764df9bdcf5f1c1c9e00c1;p=thirdparty%2Fkea.git [#649,!381] fixed ddns examples Additional fixes said files. --- diff --git a/doc/examples/ddns/comments.json b/doc/examples/ddns/comments.json index b377a70544..8726affd9a 100644 --- a/doc/examples/ddns/comments.json +++ b/doc/examples/ddns/comments.json @@ -55,7 +55,8 @@ "loggers": [ { "comment": "A logger", - "name": "kea-dhcp-ddns" + "name": "kea-dhcp-ddns", + "severity": "info" } ] } diff --git a/doc/examples/ddns/template.json b/doc/examples/ddns/template.json index a3024bf364..17fcc776c7 100644 --- a/doc/examples/ddns/template.json +++ b/doc/examples/ddns/template.json @@ -1,9 +1,7 @@ // This file may be used a template for constructing DHCP-DDNS JSON // configuration. // -// Default values that may be omitted are '//' commented out. - -// If in a file by itself, it must start with a left-curly-bracket. +// It must start with a left-curly-bracket. { "DhcpDdns" : @@ -37,22 +35,22 @@ { "ddns-domains" : [ - { - "name" : "", +// { +// "name" : "", // "key-name" : "", - "dns-servers" : - [ - { - "ip-address" : "" +// "dns-servers" : +// [ +// { +// "ip-address" : "" // ,"port" : 53 - } +// } // , // { // next DNS server for this DdnsDomain // } // : - ] - } +// ] +// } // , // { // next Forward DdnsDomain @@ -68,22 +66,22 @@ { "ddns-domains" : [ - { - "name" : "", +// { +// "name" : "", // "key-name" : "", - "dns-servers" : - [ - { - "ip-address" : "" +// "dns-servers" : +// [ +// { +// "ip-address" : "" // ,"port" : 53 - } +// } // , // { // next DNS server for this DdnsDomain // } // : - ] - } +// ] +// } // , // { // next Reverse DdnsDomain @@ -96,23 +94,32 @@ // "tsig-keys" : [ - { - "name" : "", - "algorithm" : "", +// { +// "name" : "", +// "algorithm" : "", // 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" : "" - } +// "secret" : "" +// } // , // { // next TSIG Key // } ] + +// Logging +// ,"loggers": +// [ +// { +// "name": "kea-dhcp-ddns", +// "severity": "info" +// } +// ] } -// If in a file by itself, it must end with an right-curly-bracket. +// It must end with an right-curly-bracket. }