summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-11 14:32:11 -0200
committerRenato Botelho <renato@netgate.com>2017-01-11 14:47:23 -0200
commit983c4c6cc3c9cfa94c7a15a47c8607128be181d5 (patch)
treeb467e91aef4c1507b76c66deffacf3dcf1dd616e /src/etc
parent828970429bcc2a9cb01fcf79bf3fc1c156ef1b09 (diff)
downloadpfsense-983c4c6cc3c9cfa94c7a15a47c8607128be181d5.zip
pfsense-983c4c6cc3c9cfa94c7a15a47c8607128be181d5.tar.gz
Fix #6712
Use system_hosts_entries to generate unbound host_entries.conf
Diffstat (limited to 'src/etc')
-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