commit 5f6d9e9d8233701d11b494778db3212aa35af1a3
parent 6076b81fb426d7f87e2c4f516acf4673e6e33870
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 2 Jun 2022 17:48:26 +0200
systems: switch dns/bind to shikoku…
… wakasu is at "end-of-life", so let's move things to shikoku.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
5 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/secrets/db.10.100.0 b/secrets/db.10.100.0
@@ -15,8 +15,8 @@ $TTL 604800
4 IN PTR honshu.vpn.
10 IN PTR kobe.vpn.
6 IN PTR massimo.vpn.
-10 IN PTR ns1.vpn.
-14 IN PTR ns2.vpn.
+2 IN PTR ns1.vpn.
+16 IN PTR ns2.vpn.
14 IN PTR okinawa.vpn.
2 IN PTR shikoku.vpn.
8 IN PTR wakasu.vpn.
diff --git a/secrets/db.192.168.1 b/secrets/db.192.168.1
@@ -13,14 +13,14 @@ $TTL 604800
11 IN PTR hokkaido.home.
17 IN PTR honshu.home.
18 IN PTR kobe.home.
-19 IN PTR ns1.home.
19 IN PTR okinawa.home.
70 IN PTR ns2.home.
70 IN PTR sakhalin.home.
20 IN PTR synodine.home.
77 IN PTR wakasu.home.
23 IN PTR aomi.home.
-60 IN PTR dev.home.
+24 IN PTR ns1.home.
+24 IN PTR shikoku.home.
; OpenShift VM
;; Load Balancer
diff --git a/secrets/db.home b/secrets/db.home
@@ -15,7 +15,7 @@ $TTL 604800
hokkaido.home. IN A 192.168.1.11
honshu.home. IN A 192.168.1.17
kobe.home. IN A 192.168.1.18
-ns1.home. IN A 192.168.1.19
+ns1.home. IN A 192.168.1.24
ns2.home. IN A 192.168.1.70
okinawa.home. IN A 192.168.1.19
sakhalin.home. IN A 192.168.1.70
@@ -25,7 +25,8 @@ wakasu.home. IN A 192.168.1.77
*.wakasu.home IN A 192.168.1.77
aomi.home. IN A 192.168.1.23
*.aomi.home. IN A 192.168.1.23
-dev.home. IN A 192.168.1.60
+shikoku.home. IN A 192.168.1.24
+*.shikoku.home. IN A 192.168.1.24
; OpenShift VMs
;; Load balancer
diff --git a/secrets/db.vpn b/secrets/db.vpn
@@ -17,8 +17,8 @@ california.vpn. IN A 10.100.0.3
hokkaido.vpn. IN A 10.100.0.5
honshu.vpn. IN A 10.100.0.4
kobe.vpn. IN A 10.100.0.10
-ns1.vpn. IN A 10.100.0.10
-ns2.vpn. IN A 10.100.0.14
+ns1.vpn. IN A 10.100.0.2
+ns2.vpn. IN A 10.100.0.16
okinawa.vpn. IN A 10.100.0.14
wakasu.vpn. IN A 10.100.0.8
aomi.vpn. IN A 10.100.0.17
diff --git a/systems/hosts/shikoku.nix b/systems/hosts/shikoku.nix
@@ -99,6 +99,7 @@ in
programs.ssh.setXAuthLocation = true;
profiles = {
+ bind.enable = true;
home = true;
dev.enable = lib.mkForce false;
desktop.enable = lib.mkForce false;