Migrate from oswaldtheotter.lan to lan.oswaldtheotter.net
Moves the search domain onto a real delegated subdomain and points DNS at Technitium's new address on the atlashorizon VLAN (192.168.7.2) instead of 1.1.1.1 / its 192.168.0.x address. The S3 state backend endpoint follows the same rename. Drops the manual .lan records and the bookstack Caddy proxy along with the old zone: those hosts are served under the new domain now, and leaving them would have recreated the retired zone on the next apply. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
1 parent
954b488565
commit
5ea7c63f71
2 files changed
+4
-19
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ terraform {
|
||||
key = "infra/terraform.tfstate"
|
||||
region = "garage"
|
||||
|
||||
endpoint = "http://s3.oswaldtheotter.lan:30188"
|
||||
endpoint = "http://s3.lan.oswaldtheotter.net:30188"
|
||||
use_path_style = true
|
||||
|
||||
skip_credentials_validation = true
|
||||
|
||||
+3
-18
@@ -21,9 +21,9 @@ network_subnets = {
|
||||
}
|
||||
|
||||
ansible_user = "ansible"
|
||||
search_domain = "oswaldtheotter.lan"
|
||||
dns_nameservers = "1.1.1.1"
|
||||
technitium_host = "http://192.168.0.2:5380"
|
||||
search_domain = "lan.oswaldtheotter.net"
|
||||
dns_nameservers = "192.168.7.2"
|
||||
technitium_host = "http://192.168.7.2:5380"
|
||||
|
||||
# ── DNS (Technitium) ────────────────────────────────────────────────────────────
|
||||
# Every declared node automatically gets an A record in the search_domain zone
|
||||
@@ -41,17 +41,6 @@ dns_records = [
|
||||
# { zone = "lan.oswaldtheotter.net", name = "router", type = "A", value = "192.168.0.1" },
|
||||
# { zone = "lan.oswaldtheotter.net", name = "nas", type = "CNAME", value = "dev.lan.oswaldtheotter.net" },
|
||||
# { zone = "lan.oswaldtheotter.net", name = "@", type = "MX", value = "mail.lan.oswaldtheotter.net", priority = 10 },
|
||||
{ zone = "oswaldtheotter.lan", name = "omada", type = "A", value = "192.168.0.110" },
|
||||
{ zone = "oswaldtheotter.lan", name = "portanas", type = "A", value = "192.168.7.4" },
|
||||
{ zone = "oswaldtheotter.lan", name = "proxmox", type = "A", value = "192.168.7.240" },
|
||||
{ zone = "oswaldtheotter.lan", name = "duck", type = "A", value = "192.168.7.240" },
|
||||
{ zone = "oswaldtheotter.lan", name = "goose", type = "A", value = "192.168.7.241" },
|
||||
{ zone = "oswaldtheotter.lan", name = "nas", type = "CNAME", value = "portanas.oswaldtheotter.lan" },
|
||||
{ zone = "oswaldtheotter.lan", name = "s3", type = "CNAME", value="portanas.oswaldtheotter.lan"},
|
||||
{ zone = "oswaldtheotter.lan", name = "hass", type = "A", value="192.168.0.70"},
|
||||
{ zone = "oswaldtheotter.lan", name = "homeassistant", type = "CNAME", value="hass.oswaldtheotter.lan"},
|
||||
{ zone = "oswaldtheotter.lan", name = "bookstack", type = "A", value="192.168.0.5"},
|
||||
{ zone = "oswaldtheotter.lan", name = "code", type = "A", value="192.168.0.5"},
|
||||
]
|
||||
|
||||
|
||||
@@ -81,10 +70,6 @@ caddy_proxies = {
|
||||
# upstreams = ["192.168.0.202:80"]
|
||||
# protocol = "https"
|
||||
# }
|
||||
bookstack = {
|
||||
host = "bookstack.oswaldtheotter.lan"
|
||||
upstreams = ["192.168.0.4:30214"]
|
||||
}
|
||||
code = {
|
||||
host = "code.oswaldtheotter.lan"
|
||||
upstreams = ["192.168.0.200:8080"]
|
||||
|
||||
Reference in new issue
Block a user