diff --git a/odi6/odi6.py b/odi6/odi6.py index e8f47b6..f754170 100755 --- a/odi6/odi6.py +++ b/odi6/odi6.py @@ -47,6 +47,8 @@ class odi6: self._update_a_record(ipv4) if ipv6: self._update_aaaa_record(ipv6) + result = self.ovh.post(f"/domain/zone/{self.config['domain']}/refresh") + self._log.debug(f"Zone refresh result: {result}") def _update_a_record(self, ipv4): a_records = self.ovh.get( diff --git a/pyproject.toml b/pyproject.toml index ea567c2..ab44428 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ Homepage = "https://susurrando.com" [project] name = "odi6" -version = "0.0.6" +version = "0.0.7" description = "Update Dynamic Host IPv6 in OVH" readme = "README.md" authors = [{ name = "Antonio J. Delgado", email = "antonio@susurrando.com" }] diff --git a/setup.cfg b/setup.cfg index a2e1f5a..30c8a1a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = odi6 -version = 0.0.6 +version = 0.0.7 [options] packages = odi6