summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index e12ae138..991ac552 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -657,4 +657,25 @@ in rec {
657 }; 657 };
658 }; 658 };
659 }; 659 };
660
661 services.unbound = {
662 enable = true;
663 networks = ["127.0.0.0/8" "::ffff:127.0.0.0/104" "::1/128" "10.141.0.0/16"];
664 interfaces = ["127.0.0.1@5353" "::1@5353" "10.141.5.1@5353"];
665 extraConfig = ''
666 private-domain: "yggdrasil"
667
668 domain-insecure: "10.in-addr.arpa"
669 domain-insecure: "yggdrasil"
670
671 local-zone: "10.in-addr.arpa" nodefault
672
673 stub-zone:
674 name: "10.in-addr.arpa"
675 stub-addr: 10.141.1.1
676 stub-zone:
677 name: "yggdrasil"
678 stub-addr: 10.141.1.1
679 '';
680 };
660} 681}