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

This commit is contained in:
Chris Buechler 2014-12-13 13:24:36 -06:00
parent 00aa3b7957
commit f358fe3f6d

View File

@ -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)) {