mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-01 23:27:18 +02:00
feat: generalize dns serial script to all zones
This commit is contained in:
parent
080bd3fbad
commit
dac48324d8
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ lib.mkMerge [
|
|||
echo "0" > ${stateDir}/counter
|
||||
new_value="0"
|
||||
fi
|
||||
sed -i "3s/0/$new_value/" ${stateDir}/zones/julienmalka.me
|
||||
for file in ${stateDir}/zones/*; do
|
||||
sed -i "3s/0/$new_value/" "$file"
|
||||
done
|
||||
'';
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue