mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
00aa3b7957
commit
f358fe3f6d
@ -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)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user