[Unbound-users] return refused for any query except for explicitly configured local, stub or forwarded zones

Mikolaj Kucharski mikolaj at kucharski.name
Tue Jun 16 16:08:50 UTC 2015


Hi Daisuke,

On Tue, Jun 16, 2015 at 09:52:06PM +0900, Daisuke HIGASHI wrote:
> Hi,
> 
> "transparent" local-zones will do the trick:

That makes it work the way I would like to. Thank you!

> # ---
> server:
>   # <snip>
> 
>   # refuse all queries for any zone
>   local-zone: "." refuse
>   # ...except example.com
>   local-zone: "example.com" transparent
> 
> # example.com stub zone
> stub-zone:
>   name: "example.com."
>   stub-addr: 199.43.132.53
>   stub-addr: 199.43.133.53
> 
> # disables root hints; this prevents query for root servers
> stub-zone:
>   name: "."
> 
> # ---

-- 
best regards
q#



More information about the Unbound-users mailing list