def __repr__(self):
    covers = self.covers()
    if (covers == dns.rdatatype.NONE):
        ctext = ''
    else:
        ctext = (('(' + dns.rdatatype.to_text(covers)) + ')')
    return ((((((('<DNS ' + dns.rdataclass.to_text(self.rdclass)) + ' ') + dns.rdatatype.to_text(self.rdtype)) + ctext) + ' rdata: ') + str(self)) + '>')
def __repr__(self):
    covers = self.covers()
    if (covers == dns.rdatatype.NONE):
        ctext = 
    else:
        ctext = (('(' + dns.rdatatype.to_text(covers)) + ')')
    return ((((((('<DNS ' + dns.rdataclass.to_text(self.rdclass)) + ' ') + dns.rdatatype.to_text(self.rdtype)) + ctext) + ' rdata: ') + str(self)) + '>')