Compare commits
1 commit
308eff1409
...
6a1feb2612
Author | SHA1 | Date | |
---|---|---|---|
6a1feb2612 |
1 changed files with 6 additions and 8 deletions
|
@ -35,14 +35,12 @@
|
||||||
dynamicZonesDir = "${bindData}/zones";
|
dynamicZonesDir = "${bindData}/zones";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
bind = {
|
services.bind.zones.${testDomain} = {
|
||||||
zones.${testDomain} = {
|
master = true;
|
||||||
master = true;
|
file = "${dynamicZonesDir}/${testDomain}";
|
||||||
file = "${dynamicZonesDir}/${testDomain}";
|
extraConfig = ''
|
||||||
extraConfig = ''
|
allow-update { key rndc-key; };
|
||||||
allow-update { key rndc-key; };
|
'';
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.bind.preStart = ''
|
systemd.services.bind.preStart = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue