From 5555bbb3083134e272d73742603f8676abbe0151 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Sat, 3 Sep 2011 13:33:28 +0200 Subject: Err...use host and not IP. --- config/unbound/unbound.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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")) { -- cgit v1.2.3