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:24:36 -0600 |
commit | f358fe3f6d105e3efad1497726cd363ece1fdfa6 (patch) | |
tree | 9567e29edf2cc31d540b2b0954abdab3d2168514 /etc/inc/unbound.inc | |
parent | 00aa3b7957dbb326668bc7e0cbb23265cbae5597 (diff) | |
download | pfsense-f358fe3f6d105e3efad1497726cd363ece1fdfa6.zip pfsense-f358fe3f6d105e3efad1497726cd363ece1fdfa6.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
Diffstat (limited to 'etc/inc/unbound.inc')
-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)) { |