diff --git a/cmdeploy/src/cmdeploy/dns.py b/cmdeploy/src/cmdeploy/dns.py index c7e4e01..fa53045 100644 --- a/cmdeploy/src/cmdeploy/dns.py +++ b/cmdeploy/src/cmdeploy/dns.py @@ -13,7 +13,7 @@ class DNS: self.out = out self.ssh = f"ssh root@{mail_domain} -- " try: - self.shell(f"unbound-control flush {mail_domain}") + self.shell(f"unbound-control flush_zone {mail_domain}") except subprocess.CalledProcessError: pass