bvm-prosody: configure IP addresses

This commit is contained in:
Luke Granger-Brown 2021-04-01 15:50:27 +00:00
parent 8d7c6dfa2c
commit bcf1266bfe
4 changed files with 14 additions and 4 deletions

View file

@ -19,6 +19,12 @@ in {
interfaces.enp1s0 = { interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.202"; prefixLength = 23; }]; ipv4.addresses = [{ address = "10.100.0.202"; prefixLength = 23; }];
}; };
interfaces.enp6s0 = {
ipv4.addresses = [{ address = "92.118.28.3"; prefixLength = 24; }];
ipv6.addresses = [{ address = "2a09:a441::3"; prefixLength = 32; }];
};
networking.defaultGateway = { address = "92.118.28.1"; interface = "enp6s0"; };
networking.defaultGateway6 = { address = "2a09:a441::1"; interface = "enp6s0"; };
}; };
my.ip.tailscale = "100.86.22.44"; my.ip.tailscale = "100.86.22.44";

View file

@ -3,11 +3,12 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 5 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 6 600 450 3600 300
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR bvm-korobi.public.as205479.net. 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR bvm-korobi.public.as205479.net.
3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR bvm-prosody.public.as205479.net.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR gw.public.as205479.net. 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR gw.public.as205479.net.
e.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-paris.public.as205479.net. e.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-paris.public.as205479.net.
f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-tuvok.public.as205479.net. f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-tuvok.public.as205479.net.

View file

@ -3,14 +3,14 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 4 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 5 600 450 3600 300
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
0 600 IN PTR 92-118-28-0.ptr.as205479.net. 0 600 IN PTR 92-118-28-0.ptr.as205479.net.
1 600 IN PTR gw.public.as205479.net. 1 600 IN PTR gw.public.as205479.net.
2 600 IN PTR bvm-korobi.public.as205479.net. 2 600 IN PTR bvm-korobi.public.as205479.net.
3 600 IN PTR 92-118-28-3.ptr.as205479.net. 3 600 IN PTR bvm-prosody.public.as205479.net.
4 600 IN PTR 92-118-28-4.ptr.as205479.net. 4 600 IN PTR 92-118-28-4.ptr.as205479.net.
5 600 IN PTR 92-118-28-5.ptr.as205479.net. 5 600 IN PTR 92-118-28-5.ptr.as205479.net.
6 600 IN PTR 92-118-28-6.ptr.as205479.net. 6 600 IN PTR 92-118-28-6.ptr.as205479.net.

View file

@ -3,7 +3,7 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 13 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 14 600 450 3600 300
; NB: this are also glue records in Google Domains. ; NB: this are also glue records in Google Domains.
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
@ -57,6 +57,7 @@ bvm-nixosmgmt.int 3600 IN A 100.65.226.19
bvm-ipfs.int 3600 IN A 100.73.206.41 bvm-ipfs.int 3600 IN A 100.73.206.41
bvm-twitterchiver.int 3600 IN A 100.119.86.55 bvm-twitterchiver.int 3600 IN A 100.119.86.55
bvm-prosody.int 3600 IN A 100.86.22.44 bvm-prosody.int 3600 IN A 100.86.22.44
bvm-win10.int 3600 IN A 100.71.230.20
; laptops, desktops, routers ; laptops, desktops, routers
totoro.int 3600 IN A 100.122.86.11 totoro.int 3600 IN A 100.122.86.11
@ -114,6 +115,8 @@ blade-paris.public 3600 IN AAAA 2a09:a441::fffe
bvm-korobi.public 3600 IN A 92.118.28.2 bvm-korobi.public 3600 IN A 92.118.28.2
bvm-korobi.public 3600 IN AAAA 2a09:a441::2 bvm-korobi.public 3600 IN AAAA 2a09:a441::2
bvm-prosody.public 3600 IN A 92.118.28.3
bvm-prosody.public 3600 IN AAAA 2a09:a441::3
92-118-28-0.ptr 6000 IN A 92.118.28.0 92-118-28-0.ptr 6000 IN A 92.118.28.0
92-118-28-1.ptr 6000 IN A 92.118.28.1 92-118-28-1.ptr 6000 IN A 92.118.28.1