diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-12-13 13:24:36 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-12-13 13:25:54 -0600 |
commit | 7dd5f0f71ce6348c3565ed974d78fdadec0bae35 (patch) | |
tree | 66905f787154d067ed2aaeac906c8b4b72fba7ba | |
parent | b78111c4aaf0637aee17776d095f16a16d1225ca (diff) | |
download | pfsense-7dd5f0f71ce6348c3565ed974d78fdadec0bae35.zip pfsense-7dd5f0f71ce6348c3565ed974d78fdadec0bae35.tar.gz |
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
-rw-r--r-- | etc/inc/unbound.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index b06b3dc..1c37eef 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)) { |