about summary refs log tree commit diff stats
path: root/hosts/by-name/server3/configuration.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-10 19:49:37 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-10 19:51:13 +0100
commit6e26789f330fe34df54b56f06ba095ece4bd7128 (patch)
tree8a749ddffac6bd792a104ff309073f6d880d5e2c /hosts/by-name/server3/configuration.nix
parent{modules/system-info,scripts/system_info}: Init (diff)
downloadnixos-server-6e26789f330fe34df54b56f06ba095ece4bd7128.zip
{hosts,zones}: Init dns zone for vhack.eu
Diffstat (limited to 'hosts/by-name/server3/configuration.nix')
-rw-r--r--hosts/by-name/server3/configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix
index d819e81..e18d055 100644
--- a/hosts/by-name/server3/configuration.nix
+++ b/hosts/by-name/server3/configuration.nix
@@ -11,6 +11,15 @@
       privatePassword = ./secrets/backup/backuppass.age;
       user = "u384702-sub4";
     };
+    dns = {
+      enable = true;
+      openFirewall = true;
+      interfaces = [
+        "92.60.38.179"
+        "2a03:4000:33:25b::4f4e"
+      ];
+      zones = import ../../../zones/vhack.eu/zone.nix {};
+    };
     fail2ban.enable = true;
     nix-sync = {
       enable = true;