# Local zones for Nebula overlay network # Generated by Ansible from inventory - do not edit manually # ============================================================ # .nebula zone - All VMs # ============================================================ local-zone: "nebula." static # Lighthouse (not in inventory, uses variable) local-data: "lighthouse.nebula. IN A {{ lighthouse_nebula_ip }}" local-data-ptr: "{{ lighthouse_nebula_ip }} lighthouse.nebula" # Proxmox host (not in inventory) local-data: "proxmox.nebula. IN A 10.10.10.1" local-data-ptr: "10.10.10.1 proxmox.nebula" # All VMs from inventory {% for host in groups['all'] %} local-data: "{{ host }}.nebula. IN A {{ hostvars[host]['nebula_ip'] }}" local-data-ptr: "{{ hostvars[host]['nebula_ip'] }} {{ host }}.nebula" {% endfor %} # ============================================================ # Custom domain aliases (optional) # Add your own domain mappings here # ============================================================ # Example: # local-zone: "myapp.infra.example." static # local-data: "myapp.infra.example. IN A {{ hostvars['app-server']['nebula_ip'] }}" # ============================================================ # Reverse DNS zone for 10.10.10.0/24 # ============================================================ local-zone: "10.10.10.in-addr.arpa." static