DNS: flush_zone before validating DNS entries. fixes #140

This commit is contained in:
missytake 2023-12-20 15:48:01 +01:00
parent d333cfdd5a
commit d2e0d1fecc

View File

@ -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