Troubleshooting RFC2136 (BIND) DNS credentials

Resolve the errors that appear when you save an RFC2136 credential or when external-dns cannot update the zone, and review the known limitations.

Troubleshooting

Messages that appear when you save a credential start with "RFC2136 credential check failed:".

Table 1. RFC2136 troubleshooting
Message or symptomCause and resolution
"TsigSecret must be valid base64."Paste the base64 secret from the key definition, without quotes.
"Only port 53 is supported for nameserver reachability checks."Remove the port or use :53.
"NameServer must be a host or host:port."Enter an IP address (or host name) only.
"Nameserver <host>:53 is not reachable from CCF."The Cloudera Cloud Factory management cluster cannot open TCP port 53 to the server. Check your firewalls.
"TsigAlgorithm '<x>' is not supported."Use hmac-sha256, hmac-sha512, or hmac-sha1.
external-dns logs REFUSED or NOTAUTHThe server typically rejects the key for updates or AXFR. The key name, secret, or algorithm is wrong, or the update or transfer policy of the zone does not include the key.
"TsigKeyName is required.", "TsigSecret is required.", or "NameServer is required."Fill in the missing field.
"NameServer points to a restricted host (loopback, link-local, or metadata)."Use the real address of the DNS server, not 127.0.0.1, a 169.254.x.x address, or a cloud metadata address.

Known limitations

  • Only port 53 is supported. TSIG is mandatory. TTL and batch settings are not configurable.
  • You cannot edit the TSIG key of a saved credential, and you cannot delete the credential while a project references it. Rotation needs a second credential. See Rotating the TSIG key.
  • Disabling DNS does not remove RFC2136 records, because Cloudera Cloud Factory has no RFC2136 cleanup. Deleting or purging a project also leaves its records. Before you disable DNS or delete a project, delete its Ingresses, Services, Gateway API routes (HTTPRoute, TLSRoute, GRPCRoute), and DNSEndpoints. Wait about 2 minutes (two synchronization intervals), and check with dig that the names are gone. You must delete records that remain on the server by hand, because a later enable uses a new owner ID and no longer recognizes them.