为 Ayatori 容器固定静态地址并发布 AD DNS
- dev 192.168.10.11、prod 192.168.10.12,位于 NEC IX DHCP 池之外 - 地址仅在 records.yml 声明一次,netplan 与 Samba DNS 同源读取 - 容器内禁用 cloud-init 网络模块,避免重启后回到 DHCP - dns.yml 扩展到 ayatori-dev / ayatori-prod 两条 A 记录 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -7,6 +7,10 @@ homelab_dns:
|
||||
# RRsets are reconciled; Samba-generated AD/Kerberos records are untouched.
|
||||
records:
|
||||
- { zone: ad.ddupan.top, name: incus, type: A, values: [192.168.10.127] }
|
||||
# Static, outside the NEC IX pool (.128-.250); infrastructure/incus/ansible/containers.yml
|
||||
# reads these same values to pin each container's netplan address.
|
||||
- { zone: ad.ddupan.top, name: ayatori-dev, type: A, values: [192.168.10.11] }
|
||||
- { zone: ad.ddupan.top, name: ayatori-prod, type: A, values: [192.168.10.12] }
|
||||
- { zone: ad.ddupan.top, name: bao, type: A, values: [192.168.10.8] }
|
||||
- { zone: ad.ddupan.top, name: pve1, type: A, values: [192.168.10.4] }
|
||||
- { zone: ad.ddupan.top, name: pve2, type: A, values: [192.168.10.7] }
|
||||
|
||||
Reference in New Issue
Block a user