From a2cbbb74752a0c3a0ffe1acff22967a7e6cf35ce Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 26 Jun 2015 09:44:34 -0400 Subject: 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(+) (limited to 'etc') diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index 9141e3f..dcf2e01 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -160,6 +160,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 -- cgit v1.1