replaced (existing data is deleted)
An additional restriction is that SOA data is ignored as
well (it is handled separately by the __do_update method).
-
+
Note that in the (near) future, this method may have
addition special-cases processing.
'''
# if the rdata types can be converted
rrset = create_rrset("www.example.org", RRClass.NONE(), RRType.A(),
3600, [ b'\xc0\x00\x02\x01', b'\xc0\x00\x02\x02'])
-
+
rrset2 = convert_rrset_class(rrset, RRClass.IN())
self.assertEqual("www.example.org. 3600 IN A 192.0.2.1\n" +
"www.example.org. 3600 IN A 192.0.2.2\n",