From 368fe5d206ad11650517d2e400ee0a80b81b0ff1 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 9 Oct 2017 09:42:58 +0200 Subject: [PATCH] [enh] hammer it --- dynette.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dynette.rb b/dynette.rb index 4218c08..1167e85 100755 --- a/dynette.rb +++ b/dynette.rb @@ -232,6 +232,8 @@ put '/migrate_key_to_sha512/' do # I don't have any other way of communicating with this dynette.cron.py # this is awful File.open("/tmp/dynette_flush_bind_cache", "w").close + # let's try flusing here, hope that could help ... (this design is so awful) + `/usr/sbin/rndc flush` # assume that the dynette.cron.py runs every minute like on prod and add a # bit of security margin. I hate that.