'Create a new zone.
:param zone_id: Zone domain name (e.g. example.com)
:type zone_id: ``str``
:rtype: :class:`Zone`'

def create_zone(self, domain, type='master', ttl=None, extra=None):

    action = '/app/dns/addzone.jsp?'
    params = {'name': domain}
    try:
        self.connection.request(action=action, params=params)
    except ZonomiException:
        e = sys.exc_info()[1]
        if (e.message == 'ERROR:    This    zone    is    already    in    your    zone    list.'):
            raise ZoneAlreadyExistsError(zone_id=domain, driver=self, value=e.message)
        raise e
    zone = Zone(id=domain, domain=domain, type='master', ttl=ttl, driver=self, extra=extra)
    return zone
