bind-internal: add ceph.unkin.net authoritative zone #260
Reference in New Issue
Block a user
Delete Branch "benvin/bind-add-ceph-zone"
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?
Why
The ceph/halb host (
ausyd1nxvm2069) publishesdashboard.ceph.unkin.netvia nsupdate to a dedicatedzone ceph.unkin.net., whichbind-authoritativewas not authoritative for (NOTZONE). This adds the zone so that record has a home.Changes
ceph.unkin.netBindZone (primary, dynamicUpdate, updateKeyRef client-update) to bind-authoritative, matching the unkin.net/main.unkin.net pattern.Note — not the root cause of the 6 missing hosts
Log evidence (VictoriaLogs, dns-update-apply on 2069/2070) shows the actual failure is a host-side bug in the puppet
dns-updatescript:fqdn()appends the zone even to records whose name is already fully-qualified (e.g.au-syd1-pve.main.unkin.net.,cobbler.main.unkin.net.), producing a..empty label →invalid owner name: empty label→ the whole main.unkin.net updatesendfails (reverse PTR, sent first, still lands). That script fix (puppet-prod) is the real blocker; this zone is still needed so the ceph record does not hit NOTZONE afterward.Should this also update the resolvers to forward requests for this domain to the authoritative bind service?
No resolver change is needed — the existing
fwd-unkin-netforward zone (unkin.net→ 198.18.200.6) already coversceph.unkin.net.In BIND a
forwardzone matches the named domain and all subdomains, unless a more-specific forward exists (none does here). Andceph.unkin.netis served by the same authoritative server (198.18.200.6) asunkin.net, so the query already lands in the right place.Verified live:
dig @198.18.200.7 dashboard.ceph.unkin.netcurrently returns NXDOMAIN with the authority SOAns1.unkin.net.— i.e. the resolver is already forwarding it to .6, and .6 answers from itsunkin.netzone. Once this PR merges and .6 servesceph.unkin.netas its own zone, the same forward path resolves it authoritatively. Nofwd-ceph-unkin-netentry required.(A separate resolver forward would only be needed if
ceph.unkin.netwere served by a different server thanunkin.net, the wayk8s.syd1.au.unkin.net→ .8 is.)