pub async fn add_cname_record(
zone_name: &str,
name: &str,
target: &str,
ttl: Option<i32>,
server: &str,
key_data: &RndcKeyData,
) -> Result<()>Expand description
Add a CNAME record using dynamic DNS update (RFC 2136).
ยงErrors
Returns an error if the DNS update fails or the server rejects it.