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