def apply(self, changes):
        '''
        Apply the provided changes to the zone.
        '''
        for change in changes:
            if isinstance(change, Delete):
                self.remove_record(change.existing)
            else:
                self.add_record(change.new, replace=True, lenient=True)

        Apply the provided changes to the zone.
        
octodns/zone.py