code: def add_rrset(self, section, rrset, **kw):
          
  
          self._set_section(section)
          before = self.output.tell()
          n = rrset.to_wire(self.output, self.compress, self.origin, **kw)
          after = self.output.tell()
          if after >= self.max_size:
              self._rollback(before)
              raise dns.exception.TooBig
          self.counts[section] += n
docs: Add the rrset to the specified section.
  
          Any keyword arguments are passed on to the rdataset's to_wire()
          routine.
  
          @param section: the section
          @type section: int
          @param rrset: the rrset
          @type rrset: dns.rrset.RRset object