dns: exclude k8s/LB ranges from dns-updater; track latest #485
Reference in New Issue
Block a user
Delete Branch "benvin/dns-updater-filters"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Configures the dns-updater record filter (dns-updater#3) so k8s/LB/internal addresses stay out of the authoritative zones.
Why
Hosts publish records the authoritative server should not hold —
*-flannel.1 A 10.42.x,*-kube-lb0 A 198.18.200.x, and the matching reverse PTRs (200.18.198,2.42.10) — which the daemon WARNsNOTAUTH/bad authenticationon.Changes
DNS_UPDATER_DENY_RANGES=198.18.199.0/24,198.18.200.0/24,10.42.0.0/16,10.43.0.0/16(pod CIDR, service CIDR, LB VIP pool, .199).deny_ranges/allow_ranges/deny_domains/allow_domains.package_ensure→latestso hosts pick up the filter release (rpm-internalmetadata_expireis 1h, so no thrash).Sequencing
Needs dns-updater #3 merged + a new tag (v0.2.0) so the filter env vars are honored. The env keys are ignored by v0.1.0, so this is safe to merge first — it takes effect when hosts upgrade to v0.2.0.