Flip resolver forwarding for k8s zones to the in-cluster bind
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

Step 3 of the external-dns → in-cluster bind migration: the client-visible
cutover. The openforwarder resolvers stop reading the legacy VM and forward
the k8s zones to the in-cluster bind-externaldns VIP (198.18.200.8), which
external-dns now populates.

- Repoint the fwd-k8s-syd1-au-unkin-net forwarder from the legacy VM anycast
  198.18.19.20 to the in-cluster bind-externaldns VIP 198.18.200.8.
- Add fwd-200-18-198-in-addr-arpa forwarding 200.18.198.in-addr.arpa to
  198.18.200.8, closing the reverse-zone gap so PTR lookups for the k8s LB
  range resolve after cutover.
- Refresh the header comment to describe the in-cluster upstream.
This commit is contained in:
2026-07-25 22:35:18 +10:00
parent 1d87c42fc1
commit bdbbba3e70
@@ -1,12 +1,9 @@
# Conditional forward zones, from the puppet openforwarder view.
# Upstreams: unkin authoritative 198.18.200.6, consul 198.18.19.14.
# k8s -> TEMPORARY: the existing external external-dns bind service anycast
# 198.18.19.20 (puppet roles::infra::dns::externaldns, ausyd1nxvm2127 + slaves),
# NOT the in-cluster bind-externaldns 198.18.200.8. The external service still
# holds the working k8s.syd1.au.unkin.net records; the in-cluster one is not
# reliably serving them yet, so forwarding there returns NXDOMAIN (which
# currently breaks Gitea's CI webhook: it cannot resolve the k8s CI host).
# Revert to 198.18.200.8 once external-dns publishes to the in-cluster service.
# Upstreams: unkin authoritative 198.18.200.6, consul 198.18.19.14,
# k8s 198.18.200.8 (in-cluster bind-externaldns VIP).
# k8s -> in-cluster bind-externaldns 198.18.200.8 for both the forward zone
# k8s.syd1.au.unkin.net and the reverse zone 200.18.198.in-addr.arpa, which
# external-dns now publishes to (see the external-dns migration PRs).
# (Zones that forwarded to 10.10.16.x were dropped; consul left as-is.)
---
apiVersion: bind.unkin.net/v1alpha1
@@ -63,10 +60,23 @@ spec:
type: forward
catalog: false
forwarders:
# TEMPORARY: existing external external-dns bind service anycast, which
# currently holds the k8s.syd1.au.unkin.net records. Revert to 198.18.200.8
# (in-cluster bind-externaldns) once external-dns publishes there.
- 198.18.19.20
- 198.18.200.8
---
apiVersion: bind.unkin.net/v1alpha1
kind: BindZone
metadata:
name: fwd-200-18-198-in-addr-arpa
namespace: bind-internal
spec:
clusterRef: bind-resolvers
viewRef: openforwarder
zoneName: 200.18.198.in-addr.arpa
type: forward
catalog: false
forwarders:
# Reverse zone for the k8s LB range, published by external-dns to the
# in-cluster bind-externaldns alongside k8s.syd1.au.unkin.net.
- 198.18.200.8
---
apiVersion: bind.unkin.net/v1alpha1
kind: BindZone