pub fn resolve_record_name(
annotations: &BTreeMap<String, String>,
host: &str,
zone: &str,
) -> Result<String>Expand description
Resolves the DNS record name for an ARecord, in priority order:
bindy.firestoned.io/record-nameannotation — explicit override (e.g."myapp","@")- Derived from
hostby stripping the zone suffix (seederive_record_name)
When the override annotation is present, the host is not validated against the zone: the operator has explicitly chosen the record name and is responsible for its correctness.
§Errors
Returns the error from derive_record_name only when no override is set and the host
does not belong to the zone.