keama/tests/sname4.notyet
raw| 1 | # server-name data expression |
| 2 | # Kea has no server-name extractor in libeval |
| 3 | |
| 4 | # authoritative is mandatory |
| 5 | authoritative; |
| 6 | |
| 7 | # empty configs are not accepted by Kea |
| 8 | default-lease-time 1800; |
| 9 | |
| 10 | # by filename superclass |
| 11 | class "byfn" { |
| 12 | match server-name; |
| 13 | } |
| 14 | |
| 15 | subclass "byfn" "foobar" { |
| 16 | option domain-name-servers 10.5.5.1; |
| 17 | } |
| 18 | |
| 19 | # raw |
| 20 | option bootfile-name = concat(server-name, "/", option host-name); |