aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound')
-rw-r--r--config/unbound/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index abfd3dd5..89f25b46 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -770,7 +770,7 @@ function unbound_add_host_entries() {
foreach ($hosts as $host) {
$current_host = $host['host'];
if ($host['host'] != "")
- $host['ip'] = $host['ip'].".";
+ $host['host'] = $host['host'].".";
if(!$added_item[$current_host]) {
$host_entries .= "local-data-ptr: \"{$host['ip']} {$host['host']}{$host['domain']}\"\n";
if(function_exists("is_ipaddrv6")) {