From 33f4660503192706b872c5944be2a97d3f49fb7a Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 14 Nov 2021 18:05:19 +0100 Subject: [PATCH] move secondary to ovh --- nodes/netcup.mails.py | 2 +- nodes/{netcup.secondary.py => ovh.secondary.py} | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) rename nodes/{netcup.secondary.py => ovh.secondary.py} (71%) diff --git a/nodes/netcup.mails.py b/nodes/netcup.mails.py index 0a5429b..468254b 100644 --- a/nodes/netcup.mails.py +++ b/nodes/netcup.mails.py @@ -143,7 +143,7 @@ '10.0.9.0/24', ], }, - 'netcup.secondary': { + 'ovh.secondary': { 'allowed_ips': [ '10.0.11.0/24', ], diff --git a/nodes/netcup.secondary.py b/nodes/ovh.secondary.py similarity index 71% rename from nodes/netcup.secondary.py rename to nodes/ovh.secondary.py index 5de7fda..0b4a301 100644 --- a/nodes/netcup.secondary.py +++ b/nodes/ovh.secondary.py @@ -1,5 +1,5 @@ { - 'hostname': '46.38.240.85', + 'hostname': '135.125.239.125', 'groups': [ 'debian-11', 'dnsserver', @@ -9,18 +9,14 @@ 'wireguard', ], 'metadata': { - 'id': '890848b2-a900-4f74-ad5b-b811fbb4f0bc', + 'id': 'd5080b1a-b310-48be-bd5a-02cfcecf0c90', 'network': { 'external': { 'interface': 'eth0', - 'ipv4': '46.38.240.85/22', - 'gateway4': '46.38.240.1', - 'ipv6': '2a03:4000:7:534::2/64', - 'gateway6': 'fe80::1', - }, - 'internal': { - 'interface': 'eth1', - 'ipv4': '10.0.11.2/24', + 'ipv4': '135.125.239.125/32', + 'gateway4': '135.125.238.1', + 'ipv6': '2001:41d0:701:1100::3dea/64', + 'gateway6': '2001:41d0:701:1100::1', }, }, 'bind': {