summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/tv
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-17 21:42:03 +0200
committertv <tv@shackspace.de>2015-10-17 21:42:03 +0200
commitc9a3d1a3d9c59e52a7866d7a947ee01a117548e3 (patch)
tree1758ce17e544f660b2cdb2b590fbb3daa4fa877b /krebs/3modules/tv
parent5c5b421b208d57fc1d3caf5ad00dc687326ad0ad (diff)
tv extraZones: set TTL to 60
Diffstat (limited to 'krebs/3modules/tv')
-rw-r--r--krebs/3modules/tv/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/krebs/3modules/tv/default.nix b/krebs/3modules/tv/default.nix
index eb7a85707..f5ec854c9 100644
--- a/krebs/3modules/tv/default.nix
+++ b/krebs/3modules/tv/default.nix
@@ -13,11 +13,11 @@ with import ../../4lib { inherit lib; };
extraZones = {
# TODO generate krebsco.de zone from nets and don't use extraZones at all
"krebsco.de" = ''
- krebsco.de. IN MX 5 mx23
- mx23 IN A ${elemAt nets.internet.addrs4 0}
- cd IN A ${elemAt nets.internet.addrs4 0}
- cgit IN A ${elemAt nets.internet.addrs4 0}
- cgit.cd IN A ${elemAt nets.internet.addrs4 0}
+ krebsco.de. 60 IN MX 5 mx23
+ mx23 60 IN A ${elemAt nets.internet.addrs4 0}
+ cd 60 IN A ${elemAt nets.internet.addrs4 0}
+ cgit 60 IN A ${elemAt nets.internet.addrs4 0}
+ cgit.cd 60 IN A ${elemAt nets.internet.addrs4 0}
'';
};
nets = rec {
@@ -97,7 +97,7 @@ with import ../../4lib { inherit lib; };
extraZones = {
# TODO generate krebsco.de zone from nets and don't use extraZones at all
"krebsco.de" = ''
- ire IN A ${elemAt nets.internet.addrs4 0}
+ ire 60 IN A ${elemAt nets.internet.addrs4 0}
'';
};
nets = {