diff --git a/bind-sidecar.py b/bind-sidecar.py index 6c95b10..0831768 100755 --- a/bind-sidecar.py +++ b/bind-sidecar.py @@ -30,7 +30,8 @@ active_zones = set() def update_config(): - master = socket.gethostbyname("bind-primary") + master = socket.gethostbyname("bind-primary") if args.replica else None + with open(PATH_CONFIG + ".part", "w") as fh: for zone in active_zones: path = PATH_ZONEFILE % zone