Adds an alias mapping with a contract.
    It has high latency but gives some kind of guarantee.

def add_alias(agent, prefix, alias):
    """Adds an alias mapping with a contract.
    It has high latency but gives some kind of guarantee."""
    return _broadcast(agent, AddMappingManager, RecordType.record_CNAME,
                      prefix, alias)