From 9ddca3c02919e4f9327c4a3c8a147c5c79625911 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 14 Dec 2010 19:55:31 +0200 Subject: forward-zone: expect upstream DNS server to be authorative for everything. So in the case of a CNAME it could potentially return FAIL. Rather let Unbound do the resolving. Bump version number. --- config/unbound/unbound.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc index 3392c6a2..7f7aff78 100644 --- a/config/unbound/unbound.inc +++ b/config/unbound/unbound.inc @@ -565,10 +565,11 @@ function unbound_add_domain_overrides() { $domain_entries = ""; foreach($result as $domain=>$ips) { - $domain_entries .= "forward-zone:\n"; + $domain_entries .= "stub-zone:\n"; $domain_entries .= "\tname: \"$domain\"\n"; foreach($ips as $ip) { - $domain_entries .= "\tforward-addr: $ip\n"; + $domain_entries .= "\tstub-addr: $ip\n"; + $domain_entries .= "\tstub-prime: no\n"; } } return $domain_entries; -- cgit v1.2.3