pub fn strip_zone(fqdn: &str, zone: &str) -> String
Strips the zone suffix from a fully-qualified domain name.
Returns the zone name when the FQDN matches the zone (apex).