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-ui -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
| Variable | Description | Default |
|---|---|---|
osmo_loadbalancer_ip | Internal LoadBalancer IP | (required) |
osmo_private_dns_zone_name | DNS zone name | osmo.local |
osmo_hostname | Hostname within zone | dev |
💡 How It Works
- DNS zone (e.g.,
osmo.local) is linked to the VNet - A record (
dev.osmo.local) points to the LoadBalancer IP - VPN clients use the Private DNS Resolver to resolve internal names
- Access OSMO UI at
http://dev.osmo.localwhen connected via VPN
🔗 Related
- Infrastructure Deployment — Main infrastructure documentation
- VPN Gateway — VPN Gateway setup (required for DNS resolution)
🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.