diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-18 20:21:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-18 20:21:11 +0100 |
commit | de79a46b284b89ea89ecff32121d12e04f6de24e (patch) | |
tree | 033558975696a52438652f2fc3efc3f9deb4db6b /hosts/vidhar/dns | |
parent | 3d2faff5b3e4eab4aa84ad04de9f8338b55f1050 (diff) | |
download | nixos-de79a46b284b89ea89ecff32121d12e04f6de24e.tar nixos-de79a46b284b89ea89ecff32121d12e04f6de24e.tar.gz nixos-de79a46b284b89ea89ecff32121d12e04f6de24e.tar.bz2 nixos-de79a46b284b89ea89ecff32121d12e04f6de24e.tar.xz nixos-de79a46b284b89ea89ecff32121d12e04f6de24e.zip |
vidhar: ...
Diffstat (limited to 'hosts/vidhar/dns')
-rw-r--r-- | hosts/vidhar/dns/default.nix | 7 | ||||
-rw-r--r-- | hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa | 15 |
2 files changed, 21 insertions, 1 deletions
diff --git a/hosts/vidhar/dns/default.nix b/hosts/vidhar/dns/default.nix index 8d36f372..1e16c885 100644 --- a/hosts/vidhar/dns/default.nix +++ b/hosts/vidhar/dns/default.nix | |||
@@ -56,10 +56,12 @@ in { | |||
56 | do-not-query-localhost = false; | 56 | do-not-query-localhost = false; |
57 | local-zone = [ | 57 | local-zone = [ |
58 | "141.10.in-addr.arpa. transparent" | 58 | "141.10.in-addr.arpa. transparent" |
59 | "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa. transparent" | ||
59 | "yggdrasil. transparent" | 60 | "yggdrasil. transparent" |
60 | ]; | 61 | ]; |
61 | domain-insecure = [ | 62 | domain-insecure = [ |
62 | "141.10.in-addr.arpa." | 63 | "141.10.in-addr.arpa." |
64 | "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa." | ||
63 | "yggdrasil." | 65 | "yggdrasil." |
64 | ]; | 66 | ]; |
65 | }; | 67 | }; |
@@ -70,7 +72,7 @@ in { | |||
70 | stub-first = true; | 72 | stub-first = true; |
71 | stub-no-cache = true; | 73 | stub-no-cache = true; |
72 | stub-prime = false; | 74 | stub-prime = false; |
73 | }) ["yggdrasil." "arpa.in-addr.10.141."]; | 75 | }) ["yggdrasil." "arpa.in-addr.10.141." "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa."]; |
74 | }; | 76 | }; |
75 | }; | 77 | }; |
76 | 78 | ||
@@ -108,6 +110,9 @@ in { | |||
108 | - domain: 141.10.in-addr.arpa | 110 | - domain: 141.10.in-addr.arpa |
109 | template: local_zone | 111 | template: local_zone |
110 | file: ${./zones/arpa.in-addr.10.141.soa} | 112 | file: ${./zones/arpa.in-addr.10.141.soa} |
113 | - domain: 1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa | ||
114 | template: local_zone | ||
115 | file: ${./zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa} | ||
111 | ''; | 116 | ''; |
112 | }; | 117 | }; |
113 | 118 | ||
diff --git a/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa b/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa new file mode 100644 index 00000000..ade7c5b2 --- /dev/null +++ b/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa | |||
@@ -0,0 +1,15 @@ | |||
1 | $ORIGIN 1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa. | ||
2 | $TTL 300 | ||
3 | @ IN SOA vidhar.lan.yggdrasil. root.yggdrasil.li. ( | ||
4 | 2022031801 ; serial | ||
5 | 300 ; refresh | ||
6 | 300 ; retry | ||
7 | 300 ; expire | ||
8 | 300 ; min TTL | ||
9 | ) | ||
10 | |||
11 | IN NS vidhar.lan.yggdrasil. | ||
12 | |||
13 | 0.0.0.0.0.0.0.0.0.0.0.0 IN PTR surtr.yggdrasil. | ||
14 | 0.0.0.0.0.0.0.0.0.0.0.1 IN PTR vidhar.yggdrasil. | ||
15 | 0.0.0.0.0.0.0.0.0.0.0.2 IN PTR sif.yggdrasil. | ||