diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-10 20:48:36 +0100 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-10 20:48:36 +0100 |
| commit | eb833159ba201ff69ed1d9c995d597bd397bcdf0 (patch) | |
| tree | f978b9c5c52a8748d528e563ef60074b4492521d | |
| parent | 55e8ab8d4228dded4a2b474b8fda54cfa62e57c0 (diff) | |
| download | nixos-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.nix | 21 |
1 files changed, 21 insertions, 0 deletions
| @@ -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 | } |
