mirror of
https://github.com/chatmail/relay.git
synced 2026-05-21 05:18:04 +00:00
DNS: flush_zone before validating DNS entries. fixes #140
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user