'Create a Rackspace CloudDns Instance.'

def handle_create(self):

    LOG.debug('CloudDns    handle_create    called.')
    args = dict(((k, v) for (k, v) in self.properties.items()))
    for rec in (args[self.RECORDS] or {}):
        rec_type = rec[self.RECORD_TYPE]
        if ((rec_type != 'MX') and (rec_type != 'SRV')):
            rec.pop(self.RECORD_PRIORITY, None)
    dom = self.cloud_dns().create(**args)
    self.resource_id_set(dom.id)
