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.out = out
|
||||||
self.ssh = f"ssh root@{mail_domain} -- "
|
self.ssh = f"ssh root@{mail_domain} -- "
|
||||||
try:
|
try:
|
||||||
self.shell(f"unbound-control flush {mail_domain}")
|
self.shell(f"unbound-control flush_zone {mail_domain}")
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user