05d2c83258
Enables per-host RFC2136 updates from puppet (puppet-prod #475 profiles::dns::updater) to the bind-authoritative zones, via the .9 write endpoint. ## Changes - add **client-update** BindTSIGKey (clusterRef bind-authoritative; operator generates the material into Secret client-update-tsig) - set `dynamicUpdate: true` + `updateKeyRef: client-update` on all **18** authoritative zones → the operator renders `allow-update { key "client-update"; }` ## Key bridge (manual, per the TSIG plan) The operator generates the client-update key value; it must reach puppet eyaml (`profiles::dns::updater::key_secret`) for clients to authenticate — until the planned Vault-sync/secret-reflection operator features exist. Get it with: `kubectl -n bind-internal get secret client-update-tsig -o jsonpath='{.data.secret}' | base64 -d` ## Validated kustomize build + kubeconform. Reviewed-on: #244 Co-authored-by: Ben Vincent <ben@unkin.net> Co-committed-by: Ben Vincent <ben@unkin.net>
241 lines
5.4 KiB
YAML
241 lines
5.4 KiB
YAML
# Authoritative zones migrated from puppet-prod
|
|
# (profiles::dns::master::zones in hieradata/roles/infra/dns/master.yaml).
|
|
# type primary, static (puppet dynamic:false); TTL 600 as in the puppet zone header.
|
|
# Record data is populated by PuppetDB exported resources upstream, so it is
|
|
# NOT in this repo — migrate it into these zones (AXFR from the current masters,
|
|
# or DNSRecord CRs) as a follow-up. The zones start with SOA+NS only.
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: unkin-net
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: unkin.net
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: main-unkin-net
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: main.unkin.net
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 13-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 13.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 14-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 14.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 15-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 15.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 16-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 16.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 17-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 17.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 19-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 19.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 20-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 20.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 21-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 21.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 22-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 22.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 23-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 23.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 24-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 24.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 25-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 25.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 26-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 26.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 27-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 27.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 28-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 28.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|
|
---
|
|
apiVersion: bind.unkin.net/v1alpha1
|
|
kind: BindZone
|
|
metadata:
|
|
name: 29-18-198-in-addr-arpa
|
|
namespace: bind-internal
|
|
spec:
|
|
clusterRef: bind-authoritative
|
|
zoneName: 29.18.198.in-addr.arpa
|
|
type: primary
|
|
defaultTTL: 600
|
|
dynamicUpdate: true
|
|
updateKeyRef: client-update
|