diff options
author | makefu <github@syntax-fehler.de> | 2022-09-23 22:25:15 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-09-23 22:25:15 +0200 |
commit | 57eceb7c056f90da0bc107e73795967e76ad92bf (patch) | |
tree | 7087e89c115ff4a97f74ca629d5e59e740b04b25 /krebs/3modules/tv/default.nix | |
parent | 092e42f7370b604ba05eda9b3ab1e07c91541d9a (diff) | |
parent | 55957c6d6adb51d2079c117c1e7309c60ee0fe0f (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/tv/default.nix')
-rw-r--r-- | krebs/3modules/tv/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/krebs/3modules/tv/default.nix b/krebs/3modules/tv/default.nix index 965505a75..016d5ca9f 100644 --- a/krebs/3modules/tv/default.nix +++ b/krebs/3modules/tv/default.nix @@ -164,15 +164,26 @@ in { extraZones = { "krebsco.de" = '' ni 60 IN A ${config.krebs.hosts.ni.nets.internet.ip4.addr} + ni 60 IN AAAA ${config.krebs.hosts.ni.nets.internet.ip6.addr} cgit 60 IN A ${config.krebs.hosts.ni.nets.internet.ip4.addr} + cgit 60 IN AAAA ${config.krebs.hosts.ni.nets.internet.ip6.addr} cgit.ni 60 IN A ${config.krebs.hosts.ni.nets.internet.ip4.addr} + cgit.ni 60 IN AAAA ${config.krebs.hosts.ni.nets.internet.ip6.addr} krebsco.de. 60 IN MX 5 ni krebsco.de. 60 IN TXT v=spf1 mx -all + tv 300 IN NS ni ''; }; nets = { internet = { - ip4.addr = "188.68.36.196"; + ip4 = rec { + addr = "188.68.36.196"; + prefix = "${addr}/32"; + }; + ip6 = rec { + addr = "2a03:4000:13:4c::1"; + prefix = "${addr}/64"; + }; aliases = [ "ni.i" "cgit.ni.i" |