bind-internal: allow localhost to query the authoritative cluster #267
Reference in New Issue
Block a user
Delete Branch "benvin/bind-allow-query-localhost"
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
Every bind-operator dynamic update is refused (
update ... denied due to allow-query) because the operator execsnsupdateagainst127.0.0.1inside the primary pod, and the BindClusterallow-querylisted only the client subnets (auth-acl-main) and the pod net (10.42.0.0/16) — not loopback. This blocked ALL DNSRecords (identity, s3, dashboard, lb1) from ever applying.Change
localhostto the BindClusterallow-queryinapps/base/bind-internal/authoritative/cluster.yaml. Theclient-updateTSIG key still gates the actual update.Every bind-operator dynamic update was refused ("denied due to allow-query") because the operator execs nsupdate against 127.0.0.1 inside the primary pod, and allow-query listed only the client subnets (auth-acl-main) and the pod net (10.42.0.0/16) -- not loopback. This blocked ALL DNSRecords (identity, s3, dashboard, lb1) from ever applying. - Add localhost to the BindCluster allow-query so in-pod nsupdate passes query-authorization; the TSIG key (client-update) still gates the update.