diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-11 14:32:11 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-11 14:47:23 -0200 |
commit | 983c4c6cc3c9cfa94c7a15a47c8607128be181d5 (patch) | |
tree | b467e91aef4c1507b76c66deffacf3dcf1dd616e /src | |
parent | 828970429bcc2a9cb01fcf79bf3fc1c156ef1b09 (diff) | |
download | pfsense-983c4c6cc3c9cfa94c7a15a47c8607128be181d5.zip pfsense-983c4c6cc3c9cfa94c7a15a47c8607128be181d5.tar.gz |
Fix #6712
Use system_hosts_entries to generate unbound host_entries.conf
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/unbound.inc | 2 |
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'])) { |