'Return a string representation of a DNS record type to a
libcloud RecordType ENUM.
:rtype: ``str``'

def _string_to_record_type(self, string):

    string = string.upper()
    record_type = getattr(RecordType, string)
    return record_type
