mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Switch domain overrides from stub-zone to forward-zone. Ticket #6065
This commit is contained in:
parent
8e53c29844
commit
6ecf66a930
@ -581,12 +581,11 @@ function unbound_add_domain_overrides($pvt_rev="", $cfgsubdir = "") {
|
||||
$domain_entries .= "local-zone: \"$domain\" typetransparent\n";
|
||||
}
|
||||
} else {
|
||||
$domain_entries .= "stub-zone:\n";
|
||||
$domain_entries .= "forward-zone:\n";
|
||||
$domain_entries .= "\tname: \"$domain\"\n";
|
||||
foreach ($ips as $ip) {
|
||||
$domain_entries .= "\tstub-addr: $ip\n";
|
||||
$domain_entries .= "\tforward-addr: $ip\n";
|
||||
}
|
||||
$domain_entries .= "\tstub-prime: no\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user