keama/tests/zone4.in4
raw| 1 | # zone executable statement construct |
| 2 | |
| 3 | # empty configs are not accepted by Kea |
| 4 | default-lease-time 1800; |
| 5 | |
| 6 | # a zone |
| 7 | zone example.com { |
| 8 | primary 10.5.5.1, 10.5.5.2; |
| 9 | secondary 10.10.10.1; |
| 10 | primary6 2001::1, 2001::2; |
| 11 | secondary6 2002::1; |
| 12 | key "mykey"; |
| 13 | } |
| 14 | |
| 15 | # a key; |
| 16 | key "mykey" { |
| 17 | algorithm hmac-md5; |
| 18 | secret "somekeydata"; |
| 19 | } |
| 20 | |
| 21 | # another key (with bind 8 semi-colon) |
| 22 | key example.com { |
| 23 | algorithm aes-gmac.dreams; |
| 24 | }; |