reconcile zone apex NS off the pod IP placeholder
Add BindZone.spec.nameservers and sync the apex NS RRset on every reconcile.
This commit is contained in:
@@ -94,6 +94,17 @@ spec:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
nameservers:
|
||||
description: |-
|
||||
Nameservers are the names published in the zone's apex NS RRset, kept in
|
||||
sync on every reconcile. Each entry is a full domain name, never relative
|
||||
to the zone. Prefer out-of-zone names glued by the parent: an
|
||||
in-zone name needs an address record in the zone, and the seed can only
|
||||
supply the primary pod's (unstable) IP for it. When empty the apex NS is
|
||||
the primary's stable in-cluster DNS name.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
primaries:
|
||||
description: Primaries lists source servers for a secondary/stub-type
|
||||
zone.
|
||||
|
||||
@@ -2760,6 +2760,17 @@ spec:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
nameservers:
|
||||
description: |-
|
||||
Nameservers are the names published in the zone's apex NS RRset, kept in
|
||||
sync on every reconcile. Each entry is a full domain name, never relative
|
||||
to the zone. Prefer out-of-zone names glued by the parent: an
|
||||
in-zone name needs an address record in the zone, and the seed can only
|
||||
supply the primary pod's (unstable) IP for it. When empty the apex NS is
|
||||
the primary's stable in-cluster DNS name.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
primaries:
|
||||
description: Primaries lists source servers for a secondary/stub-type
|
||||
zone.
|
||||
|
||||
@@ -71,10 +71,11 @@ spec:
|
||||
- key transfer-key
|
||||
updateKeyRef: transfer-key
|
||||
dynamicUpdate: true
|
||||
# Published apex NS, kept in sync on every reconcile. Full names only; an
|
||||
# in-zone name (as here) needs its address record below.
|
||||
nameservers:
|
||||
- ns1.internal.example.com.
|
||||
records:
|
||||
- name: "@"
|
||||
type: NS
|
||||
values: ["ns1.internal.example.com."]
|
||||
- name: ns1
|
||||
type: A
|
||||
values: ["10.0.0.53"]
|
||||
|
||||
Reference in New Issue
Block a user