DNS: flush_zone before validating DNS entries. fixes #140
This commit is contained in:
parent
d333cfdd5a
commit
d2e0d1fecc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user