'Equality as defined by https://tools.ietf.org/html/rfc5280#section-7.2
:param other:
Another DNSName object
:return:
A boolean'

def __eq__(self, other):

    if (not isinstance(other, DNSName)):
        return False
    return (self.__unicode__().lower() == other.__unicode__().lower())
