diff options
Diffstat (limited to 'config/unbound')
-rw-r--r-- | config/unbound/unbound.inc | 5 |
1 files changed, 3 insertions, 2 deletions
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; |