From f358fe3f6d105e3efad1497726cd363ece1fdfa6 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 13 Dec 2014 13:24:36 -0600 Subject: [PATCH] Where binding Unbound to *:53, set "interface-automatic: yes" so replies are sourced from the correct IP. Ideally this should always work this way, but setting this causes Unbound to bind to *:53, which shouldn't happen where specific interfaces are chosen. Ticket #4111 --- etc/inc/unbound.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index b06b3dc762..1c37eef5f6 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -146,6 +146,7 @@ EOF; if (in_array("all", $active_interfaces, true)) { $bindints .= "interface: 0.0.0.0\n"; $bindints .= "interface: ::0\n"; + $bindints .= "interface-automatic: yes\n"; } else { foreach($active_interfaces as $ubif) { if (is_ipaddr($ubif)) {