xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/zone4.in4 (revision 2dd295436a0082eb4f8d294f4aa73c223413d0f2)
1# zone executable statement construct
2
3# empty configs are not accepted by Kea
4default-lease-time 1800;
5
6# a zone
7zone 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;
16key "mykey" {
17    algorithm hmac-md5;
18    secret "somekeydata";
19}
20
21# another key (with bind 8 semi-colon)
22key example.com {
23    algorithm aes-gmac.dreams;
24};
25