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:40:39 -0200 |
commit | ac446eac051c4514666f9904bbdd0609468f2fc5 (patch) | |
tree | 07fcf5528f92fcb803c78853cb9ba62d37af62b2 /src/etc/inc/unbound.inc | |
parent | 878b7736827c4aadfe1b43c82b47eabd195e9f01 (diff) | |
download | pfsense-ac446eac051c4514666f9904bbdd0609468f2fc5.zip pfsense-ac446eac051c4514666f9904bbdd0609468f2fc5.tar.gz |
Fix #6712
Use system_hosts_entries to generate unbound host_entries.conf
Diffstat (limited to 'src/etc/inc/unbound.inc')
-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 a080b0d..6b998df 100644 --- a/src/etc/inc/unbound.inc +++ b/src/etc/inc/unbound.inc @@ -548,7 +548,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'])) { |