diff --git a/data/powerdns/files/bind-zones/kunbox.net b/data/powerdns/files/bind-zones/kunbox.net index 1048a75..ae07e90 100644 --- a/data/powerdns/files/bind-zones/kunbox.net +++ b/data/powerdns/files/bind-zones/kunbox.net @@ -27,12 +27,17 @@ _acme-challenge.home IN CNAME _acme-challenge.home.kunbox.net.le.kunbox.net. ; Mail servers mta-sts IN CNAME rx300 -; Nameservers -ns-primary IN CNAME ns-ionos +; legacy Nameservers ns-1 IN A 34.89.208.78 ns-2 IN A 35.187.109.249 ns-3 IN A 35.228.143.71 +; temp, while updating names +; XXX remove 2023-07-01 +ns-primary IN CNAME ns-mephisto +ns-ionos IN CNAME ns-mephisto +ns-digitalocean IN CNAME ns-ghirahim + % for record in sorted(metadata_records): ${record} % endfor diff --git a/nodes/home/router.py b/nodes/home/router.py index 68b7e16..29eb8c6 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -133,7 +133,7 @@ nodes['home.router'] = { 'interface': 'enp1s0.7', 'dyndns': { 'domain': 'franzi-home.kunbox.net', - 'url': 'https://ns-ionos.kunbox.net/nic/update?hostname=franzi-home.kunbox.net&myip={ip}', + 'url': 'https://ns-mephisto.kunbox.net/nic/update?hostname=franzi-home.kunbox.net&myip={ip}', 'username': vault.decrypt('encrypt$gAAAAABfr8DLAJhmUIhdxLq83I8MnRRvkRgDZcO8Brvw1KpvplC3K8ZGj0jIIWD3Us33vIP6t0ybd_mgD8slpRUk78Kqd3BMoQ=='), 'password': vault.decrypt('encrypt$gAAAAABfr8Cq5M1hweeJTQAl0dLhFntdlw-QnkIYUQpY-_ycODVWOpyeAwjwOgWLSdsdXIUvqcoiXPZPV-BE12p5C42NGnj9r7sKYpoGz8xfuGIk6haMa2g='), }, diff --git a/nodes/ns-digitalocean.toml b/nodes/ns-ghirahim.toml similarity index 88% rename from nodes/ns-digitalocean.toml rename to nodes/ns-ghirahim.toml index ae87f1d..aa88109 100644 --- a/nodes/ns-digitalocean.toml +++ b/nodes/ns-ghirahim.toml @@ -13,7 +13,7 @@ gateway4 = "46.101.80.1" gateway6 = "2a03:b0c0:1:d0::1" [metadata.icinga_options] -pretty_name = "ns-digitalocean.kunbox.net" +pretty_name = "ns-ghirahim.kunbox.net" [metadata.postgresql] version = "15" diff --git a/nodes/ns-ionos.toml b/nodes/ns-mephisto.toml similarity index 88% rename from nodes/ns-ionos.toml rename to nodes/ns-mephisto.toml index 30e4a39..c707113 100644 --- a/nodes/ns-ionos.toml +++ b/nodes/ns-mephisto.toml @@ -18,10 +18,10 @@ gateway4 = "10.255.255.1" gateway6 = "fe80::250:56ff:fea8:628f" [metadata.icinga_options] -pretty_name = "ns-ionos.kunbox.net" +pretty_name = "ns-mephisto.kunbox.net" [metadata.nginx.vhosts.powerdnsadmin] -domain = "ns-ionos.kunbox.net" +domain = "ns-mephisto.kunbox.net" [metadata.postgresql] version = "15"