diff --git a/management/dns_update.py b/management/dns_update.py index 5505ff2a..29a6453f 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -120,7 +120,7 @@ def do_dns_update(env, force=False): # Clear unbound's DNS cache so our own DNS resolver is up to date. # (ignore errors with trap=True) - shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", "."], trap=True) + shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", ".", "-q"], trap=True) if len(updated_domains) == 0: # if nothing was updated (except maybe OpenDKIM's files), don't show any output diff --git a/management/status_checks.py b/management/status_checks.py index f59042f8..ba7a682b 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -56,7 +56,7 @@ def run_checks(rounded_values, env, output, pool, domains_to_check=None): # clear unbound's DNS cache so our DNS checks are up to date # (ignore errors; if unbound isn't running we'd already report # that in run_services checks.) - shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", "."], trap=True) + shell('check_call', ["/usr/sbin/unbound-control", "flush_zone", ".", "-q"], trap=True) run_system_checks(rounded_values, env, output)