| 1 |
{ |
| 2 |
# zone executable statement construct |
| 3 |
# empty configs are not accepted by Kea |
| 4 |
"Dhcp4": { |
| 5 |
"valid-lifetime": 1800 |
| 6 |
// # a zone |
| 7 |
// "statement": { |
| 8 |
// "zone": { |
| 9 |
// "name": "example.com.", |
| 10 |
// "primary": [ |
| 11 |
// "10.5.5.1", |
| 12 |
// "10.5.5.2" |
| 13 |
// ], |
| 14 |
// "secondary": [ |
| 15 |
// "10.10.10.1" |
| 16 |
// ], |
| 17 |
// "primary6": [ |
| 18 |
// "2001::1", |
| 19 |
// "2001::2" |
| 20 |
// ], |
| 21 |
// "secondary6": [ |
| 22 |
// "2002::1" |
| 23 |
// ], |
| 24 |
// "key": "mykey" |
| 25 |
// } |
| 26 |
// } |
| 27 |
// # a key; |
| 28 |
// "statement": { |
| 29 |
// "tsig-keys": [ |
| 30 |
// { |
| 31 |
// "name": "mykey", |
| 32 |
// "algorithm": "hmac-md5.SIG-ALG.REG.INT.", |
| 33 |
// "secret": "somekeydata" |
| 34 |
// } |
| 35 |
// ] |
| 36 |
// } |
| 37 |
// # another key (with bind 8 semi-colon) |
| 38 |
// "statement": { |
| 39 |
// "tsig-keys": [ |
| 40 |
// { |
| 41 |
// "name": "example.com", |
| 42 |
// "algorithm": "aes-gmac.dreams." |
| 43 |
// } |
| 44 |
// ] |
| 45 |
// } |
| 46 |
} |
| 47 |
} |