'Create a new zone.
Provider API docs:
https://www.zerigo.com/docs/apis/dns/1.1/zones/create
@inherits: :class:`DNSDriver.create_zone`'

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

    path = (API_ROOT + 'zones.xml')
    zone_elem = self._to_zone_elem(domain=domain, type=type, ttl=ttl, extra=extra)
    data = self.connection.request(action=path, data=ET.tostring(zone_elem), method='POST').object
    zone = self._to_zone(elem=data)
    return zone
