code: def createZone(self, zone, zoneFile=None, callback=None, errback=None,
                     **kwargs):
          
          import ns1.zones
          zone = ns1.zones.Zone(self.config, zone)
          return zone.create(zoneFile=zoneFile, callback=callback,
                             errback=errback, **kwargs)
docs: Create a new zone, and return an associated high level Zone object.
          Several optional keyword arguments are available to configure the SOA
          record.
  
          If zoneFile is specified, upload the specific zone definition file
          to populate the zone with.
  
          :param str zone: zone name, like 'example.com'
          :param str zoneFile: absolute path of a zone file
          :keyword int retry: retry time
          :keyword int refresh: refresh ttl
          :keyword int expiry: expiry ttl
          :keyword int nx_ttl: nxdomain TTL
  
          :rtype: :py:class:`ns1.zones.Zone`