summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etc/inc/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/unbound.inc b/src/etc/inc/unbound.inc
index 95dfe06..cbba152 100644
--- a/src/etc/inc/unbound.inc
+++ b/src/etc/inc/unbound.inc
@@ -580,7 +580,7 @@ function unbound_add_host_entries($cfgsubdir = "") {
$unbound_entries = "local-zone: \"{$config['system']['domain']}\" {$system_domain_local_zone_type}\n";
- $hosts = system_hosts_local_entries();
+ $hosts = system_hosts_entries($config['unbound']);
$added_ptr = array();
foreach ($hosts as $host) {
if (is_ipaddrv4($host['ipaddr'])) {
OpenPOWER on IntegriCloud