From 34117ecd009062ddaa59c7070281b04e7632515b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 9 May 2021 10:26:34 +0000 Subject: [PATCH] bvm-nixosmgmt: allocate .5 --- ops/nixos/bvm-nixosmgmt/default.nix | 6 ++++++ ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa | 4 ++-- ops/nixos/lib/coredns/zones/db.as205479.net | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ops/nixos/bvm-nixosmgmt/default.nix b/ops/nixos/bvm-nixosmgmt/default.nix index ae91fed3a3..e3a0c50d0b 100644 --- a/ops/nixos/bvm-nixosmgmt/default.nix +++ b/ops/nixos/bvm-nixosmgmt/default.nix @@ -17,6 +17,12 @@ interfaces.enp1s0 = { ipv4.addresses = [{ address = "10.100.0.200"; prefixLength = 23; }]; }; + interfaces.enp6s0 = { + ipv4.addresses = [{ address = "92.118.28.5"; prefixLength = 24; }]; + ipv6.addresses = [{ address = "2a09:a441::5"; prefixLength = 32; }]; + }; + defaultGateway = { address = "92.118.28.1"; interface = "enp6s0"; }; + defaultGateway6 = { address = "2a09:a441::1"; interface = "enp6s0"; }; }; my.ip.tailscale = "100.65.226.19"; diff --git a/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa b/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa index 0ffd165e0e..141f38936c 100644 --- a/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa +++ b/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa @@ -3,7 +3,7 @@ ; SPDX-License-Identifier: Apache-2.0 ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL -@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 6 600 450 3600 300 +@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 7 600 450 3600 300 $INCLUDE tmpl.ns @@ -12,7 +12,7 @@ $INCLUDE tmpl.ns 2 600 IN PTR bvm-korobi.public.as205479.net. 3 600 IN PTR bvm-prosody.public.as205479.net. 4 600 IN PTR bvm-ipfs.public.as205479.net. -5 600 IN PTR 92-118-28-5.ptr.as205479.net. +5 600 IN PTR bvm-nixosmgmt.public.as205479.net. 6 600 IN PTR 92-118-28-6.ptr.as205479.net. 7 600 IN PTR 92-118-28-7.ptr.as205479.net. 8 600 IN PTR 92-118-28-8.ptr.as205479.net. diff --git a/ops/nixos/lib/coredns/zones/db.as205479.net b/ops/nixos/lib/coredns/zones/db.as205479.net index 5f1e246d7f..98f0375ac6 100644 --- a/ops/nixos/lib/coredns/zones/db.as205479.net +++ b/ops/nixos/lib/coredns/zones/db.as205479.net @@ -3,7 +3,7 @@ ; SPDX-License-Identifier: Apache-2.0 ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL -@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 16 600 450 3600 300 +@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 17 600 450 3600 300 ; NB: this are also glue records in Google Domains. $INCLUDE tmpl.ns @@ -121,6 +121,8 @@ bvm-prosody.public 3600 IN A 92.118.28.3 bvm-prosody.public 3600 IN AAAA 2a09:a441::3 bvm-ipfs.public 3600 IN A 92.118.28.4 bvm-ipfs.public 3600 IN AAAA 2a09:a441::4 +bvm-nixosmgmt.public 3600 IN A 92.118.28.5 +bvm-nixosmgmt.public 3600 IN AAAA 2a09:a441::5 92-118-28-0.ptr 6000 IN A 92.118.28.0 92-118-28-1.ptr 6000 IN A 92.118.28.1