Browse Source

nixos-module/container/dnscache: use all the dn42 ns

master
Astro 1 month ago
parent
commit
1eeb24a2e2
1 changed files with 18 additions and 0 deletions
  1. 18
    0
      nix/nixos-module/container/dnscache.nix

+ 18
- 0
nix/nixos-module/container/dnscache.nix View File

@@ -105,32 +105,50 @@ lib.mkIf config.site.hosts.${hostName}.services.dnscache.enable {
105 105
       stub-zone:
106 106
         name: "dn42"
107 107
         stub-prime: yes
108
+        stub-addr: 172.20.0.53
109
+        stub-addr: fd42:d42:d42:54::1
108 110
         stub-addr: 172.23.0.53
111
+        stub-addr: fd42:d42:d42:53::1
109 112
 
110 113
       stub-zone:
111 114
         name: "20.172.in-addr.arpa"
112 115
         stub-prime: yes
116
+        stub-addr: 172.20.0.53
117
+        stub-addr: fd42:d42:d42:54::1
113 118
         stub-addr: 172.23.0.53
119
+        stub-addr: fd42:d42:d42:53::1
114 120
 
115 121
       stub-zone:
116 122
         name: "21.172.in-addr.arpa"
117 123
         stub-prime: yes
124
+        stub-addr: 172.20.0.53
125
+        stub-addr: fd42:d42:d42:54::1
118 126
         stub-addr: 172.23.0.53
127
+        stub-addr: fd42:d42:d42:53::1
119 128
 
120 129
       stub-zone:
121 130
         name: "22.172.in-addr.arpa"
122 131
         stub-prime: yes
132
+        stub-addr: 172.20.0.53
133
+        stub-addr: fd42:d42:d42:54::1
123 134
         stub-addr: 172.23.0.53
135
+        stub-addr: fd42:d42:d42:53::1
124 136
 
125 137
       stub-zone:
126 138
         name: "23.172.in-addr.arpa"
127 139
         stub-prime: yes
140
+        stub-addr: 172.20.0.53
141
+        stub-addr: fd42:d42:d42:54::1
128 142
         stub-addr: 172.23.0.53
143
+        stub-addr: fd42:d42:d42:53::1
129 144
 
130 145
       stub-zone:
131 146
         name: "d.f.ip6.arpa"
132 147
         stub-prime: yes
148
+        stub-addr: 172.20.0.53
149
+        stub-addr: fd42:d42:d42:54::1
133 150
         stub-addr: 172.23.0.53
151
+        stub-addr: fd42:d42:d42:53::1
134 152
     '';
135 153
   };
136 154
 }

Loading…
Cancel
Save