code: func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
  	fqdn, value := dns01.GetRecord(domain, keyAuth)
  
  	zone, err := d.getHostedZoneInfo(fqdn)
  	if err != nil {
  		return err
  	}
  
  	// Get all TXT records for the specified domain.
  	listOpts := linodego.NewListOptions(0, "{\"type\":\"TXT\"}")
  	resources, err := d.client.ListDomainRecords(context.Background(), zone.domainID, listOpts)
  	if err != nil {
  		return err
  	}
  
  	// Remove the specified resource, if it exists.
  	for _, resource := range resources {
  		if (resource.Name == strings.TrimSuffix(fqdn, ".") || resource.Name == zone.resourceName) &&
  			resource.Target == value {
  			if err := d.client.DeleteDomainRecord(context.Background(), zone.domainID, resource.ID); err != nil {
  				return err
  			}
  		}
  	}
  
  	return nil
  }
docs: // CleanUp removes the TXT record matching the specified parameters.