summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-11-10 20:48:36 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-11-10 20:48:36 +0100
commiteb833159ba201ff69ed1d9c995d597bd397bcdf0 (patch)
treef978b9c5c52a8748d528e563ef60074b4492521d
parent55e8ab8d4228dded4a2b474b8fda54cfa62e57c0 (diff)
downloadnixos-eb833159ba201ff69ed1d9c995d597bd397bcdf0.tar
nixos-eb833159ba201ff69ed1d9c995d597bd397bcdf0.tar.gz
nixos-eb833159ba201ff69ed1d9c995d597bd397bcdf0.tar.bz2
nixos-eb833159ba201ff69ed1d9c995d597bd397bcdf0.tar.xz
nixos-eb833159ba201ff69ed1d9c995d597bd397bcdf0.zip
recursive unbound on ymir
-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}