mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
bind: fix zonefile ownership
This commit is contained in:
parent
a7b2d18db0
commit
9a13c1774f
|
@ -88,6 +88,7 @@ in
|
|||
systemd.services.bind.preStart = ''
|
||||
# copy the file manually to its destination since signing requires a writable directory
|
||||
${pkgs.coreutils}/bin/cp ${zonefile} ${config.services.bind.directory}/rfive.de.zone.txt
|
||||
${pkgs.coreutils}/bin/chown named:named ${config.services.bind.directory}/rfive.de.zone.txt
|
||||
'';
|
||||
networking.firewall.extraInputRules = ''
|
||||
ip saddr ${secondary}/32 tcp dport 53 accept comment "Allow DNS AXFR access from INWX Servers"
|
||||
|
|
Loading…
Reference in a new issue