diff --git a/certbot_dns_google_domains/dns_google_domains.py b/certbot_dns_google_domains/dns_google_domains.py index 05e30b2..651d187 100644 --- a/certbot_dns_google_domains/dns_google_domains.py +++ b/certbot_dns_google_domains/dns_google_domains.py @@ -132,17 +132,6 @@ def _get_gds_api(self) -> GDSApi: return GDSApi(self.access_token) def _cleanup(self, domain: str, validation_name: str, validation: str): - gds_api = self._get_gds_api() - record_remove = AcmeTxtRecord(validation_name, validation) - rotate_req = RotateChallengesRequest( - self.access_token, None, [record_remove], True) - - zone = self._get_zone( - domain, self.zone_from_credentials, self.conf('zone'), self.psl) - try: - gds_api.rotate_challenges(zone, rotate_req) - except Exception as err: - raise errors.PluginError(f"Unable to rotate DNS challenges: {err}") return @staticmethod