From 342f509028bc675c81172fb89275fd60ec761399 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 26 Jun 2015 09:44:34 -0400 Subject: [PATCH] Use interface-automatic for Unbound when the interfaces list is empty (same as All) otherwise it breaks with a default CARP config. --- etc/inc/unbound.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index 1d61d77312..aaaeed8297 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -155,6 +155,8 @@ EOF; } else { $bindints .= "interface: 0.0.0.0\n"; $bindints .= "interface: ::0\n"; + /* If the active interface array is empty, treat it the same as "All" as is done above. Otherwise it breaks CARP with a default config. */ + $bindints .= "interface-automatic: yes\n"; } // Determine interfaces to run on