# Cloudflare DNS Records for sankofa.nexus
# Proxmox Instance DNS Configuration
#
# This file defines DNS records for Proxmox instances
# Use with Cloudflare API or Terraform to create records

apiVersion: v1
kind: ConfigMap
metadata:
  name: proxmox-dns-records
  namespace: default
data:
  # Instance 1 (ML110-01) - Primary Records
  ml110-01-a-record: |
    {
      "type": "A",
      "name": "ml110-01.sankofa.nexus",
      "content": "192.168.11.10",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 1 - ML110-01"
    }
  
  ml110-01-api-cname: |
    {
      "type": "CNAME",
      "name": "ml110-01-api.sankofa.nexus",
      "content": "ml110-01.sankofa.nexus",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 1 API endpoint"
    }
  
  ml110-01-metrics-cname: |
    {
      "type": "CNAME",
      "name": "ml110-01-metrics.sankofa.nexus",
      "content": "ml110-01.sankofa.nexus",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 1 metrics endpoint"
    }
  
  # Instance 2 (R630-01) - Primary Records
  r630-01-a-record: |
    {
      "type": "A",
      "name": "r630-01.sankofa.nexus",
      "content": "192.168.11.11",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 2 - R630-01"
    }
  
  r630-01-api-cname: |
    {
      "type": "CNAME",
      "name": "r630-01-api.sankofa.nexus",
      "content": "r630-01.sankofa.nexus",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 2 API endpoint"
    }
  
  r630-01-metrics-cname: |
    {
      "type": "CNAME",
      "name": "r630-01-metrics.sankofa.nexus",
      "content": "r630-01.sankofa.nexus",
      "ttl": 300,
      "proxied": false,
      "comment": "Proxmox Instance 2 metrics endpoint"
    }

---
# DNS Records Summary
# 
# A Records (Direct IP mapping):
# - ml110-01.sankofa.nexus → 192.168.11.10
# - r630-01.sankofa.nexus → 192.168.11.11
#
# CNAME Records (Aliases):
# - ml110-01-api.sankofa.nexus → ml110-01.sankofa.nexus
# - ml110-01-metrics.sankofa.nexus → ml110-01.sankofa.nexus
# - r630-01-api.sankofa.nexus → r630-01.sankofa.nexus
# - r630-01-metrics.sankofa.nexus → r630-01.sankofa.nexus

