Expand description
DNS zone reconciliation logic.
This module handles the creation and management of DNS zones on BIND9 servers. It supports both primary and secondary zone configurations.
Structs§
- Endpoint
Address - Structure representing an endpoint (pod IP and port)
- PodInfo
- Helper struct for pod information
Functions§
- add_
dnszone - Adds a DNS zone to all primary instances in the cluster.
- add_
dnszone_ to_ secondaries - Adds a DNS zone to all secondary instances in the cluster with primaries configured.
- delete_
dnszone - Deletes a DNS zone and its associated zone files.
- find_
all_ primary_ pods - Find ALL PRIMARY pods for the given
Bind9ClusterorClusterBind9Provider - find_
zones_ selecting_ record - Find all
DNSZonesthat have selected a given record via label selectors. - for_
each_ primary_ endpoint - Execute an operation on all endpoints of all primary instances in a cluster.
- for_
each_ secondary_ endpoint - Execute an operation on all SECONDARY endpoints for a cluster.
- get_
cluster_ ref_ from_ spec - Helper function to extract and validate cluster reference from
DNSZoneSpec. - get_
endpoint - Get all endpoints for a service with a specific port name
- reconcile_
dnszone - Reconciles a
DNSZoneresource.