Skip to main content

Private DNS Configuration

Internal DNS resolution for the OSMO UI service running on an internal LoadBalancer.

NOTE

Part of the Deployment Guide. Return there for navigation and deployment order.

📋 Prerequisites​

  • Platform infrastructure deployed (cd infrastructure/terraform && terraform apply)
  • VPN Gateway deployed (VPN Gateway)
  • OSMO UI service running with internal LoadBalancer IP

🚀 Usage​

Get the OSMO UI LoadBalancer IP from your cluster:

kubectl get svc -n osmo-control-plane osmo-gateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}'

Deploy the DNS zone:

cd infrastructure/terraform/dns
terraform init
terraform apply -var="osmo_loadbalancer_ip=10.0.x.x"

⚙️ Configuration​

VariableDescriptionDefault
osmo_loadbalancer_ipInternal LoadBalancer IP(required)
osmo_private_dns_zone_nameDNS zone nameosmo.local
osmo_hostnameHostname within zonedev

💡 How It Works​

  1. DNS zone (e.g., osmo.local) is linked to the VNet
  2. A record (dev.osmo.local) points to the LoadBalancer IP
  3. VPN clients use the Private DNS Resolver to resolve internal names
  4. Access OSMO UI at http://dev.osmo.local when connected via VPN

🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.