Skip to content

fix(dns): durable coredns internal-zone forward#267

Merged
JacobPEvans-personal merged 1 commit into
mainfrom
fix/coredns-internal-dns-durable
Jun 11, 2026
Merged

fix(dns): durable coredns internal-zone forward#267
JacobPEvans-personal merged 1 commit into
mainfrom
fix/coredns-internal-dns-durable

Conversation

@JacobPEvans-personal

Copy link
Copy Markdown
Member

What

Adds a committed coredns-custom configmap (kube-system) that forwards the homelab internal DNS zone to the internal DNS server, and wires deploy.sh to substitute the zone + server from Doppler at deploy time.

Why

OrbStack pods resolve internal hostnames via the laptop's upstream resolver, which can serve a stale / split-horizon view. Forwarding the internal zone straight to the internal DNS server gives authoritative resolution. This replaces a runtime-only configmap so the fix survives make deploy.

How

  • k8s/coredns/coredns-custom.yaml: CoreDNS imports kube-system/coredns-custom keys matching *.server and auto-reloads (cluster Corefile has reload 15s) — no CoreDNS restart.
  • scripts/deploy.sh (Step 2.4): derives the zone from PROXMOX_SUBDOMAIN and the DNS server from NETWORK_CIDR_DNS (Doppler), sed-substitutes the placeholders, applies to kube-system. Placeholders only — no literal domain/IP committed.

Verified: substitution renders valid YAML; kubectl apply --dry-run=client passes.

OrbStack pods resolved internal hostnames via the laptop's upstream resolver, which can serve a stale/split-horizon view. Forward the internal zone to the internal DNS server authoritatively.

- k8s/coredns/coredns-custom.yaml: kube-system configmap; CoreDNS imports *.server and reloads (Corefile has 'reload 15s'), so no restart needed.
- deploy.sh: substitutes the zone + DNS server from Doppler (PROXMOX_SUBDOMAIN, NETWORK_CIDR_DNS) at deploy time — placeholders only, no literal domain/IP committed.
- Replaces a runtime-only configmap so internal-hostname resolution survives make deploy.

Assisted-by: Claude:claude-opus-4-8
@JacobPEvans-personal JacobPEvans-personal merged commit f63df79 into main Jun 11, 2026
12 of 13 checks passed
@JacobPEvans-personal JacobPEvans-personal deleted the fix/coredns-internal-dns-durable branch June 11, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant