#NEWLINE# def create_zone( domain , profile , type = 'master' , ttl = None ) : #NEWLINE# #INDENT# '\n    Create a new zone.\n\n    :param domain: Zone domain name (e.g. example.com)\n    :type domain: ``str``\n\n    :param profile: The profile key\n    :type  profile: ``str``\n\n    :param type: Zone type (master / slave).\n    :type  type: ``str``\n\n    :param ttl: TTL for new records. (optional)\n    :type  ttl: ``int``\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt myminion libcloud_dns.create_zone google.com profile1\n    ' #NEWLINE# conn = _get_driver ( profile = profile ) #NEWLINE# return conn . create_record ( domain , type = profile , ttl = ttl )