'Equality test on name, type, and class.'

def __eq__(self, other):

    return (isinstance(other, DNSEntry) and (self.name == other.name) and (self.type == other.type) and (self.clazz == other.clazz))
