summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-26 09:44:34 -0400
committerjim-p <jimp@pfsense.org>2015-06-26 09:45:19 -0400
commit342f509028bc675c81172fb89275fd60ec761399 (patch)
treeca45c569ea765bf02d14dccfc80cf8635043cdc0 /etc/inc/unbound.inc
parent763afdaf7b4b673ed68b62a976f459f4969e665b (diff)
downloadpfsense-342f509028bc675c81172fb89275fd60ec761399.zip
pfsense-342f509028bc675c81172fb89275fd60ec761399.tar.gz
Use interface-automatic for Unbound when the interfaces list is empty (same as All) otherwise it breaks with a default CARP config.
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r--etc/inc/unbound.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index 1d61d77..aaaeed8 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
OpenPOWER on IntegriCloud