Forward specific zone and refuse others

Ralph Dolmans ralph at nlnetlabs.nl
Fri Oct 14 15:41:49 UTC 2016


Hi Kirill,

You can block queries for all names, and then add an exception for
example.org using local-zones:

local-zone: "." refuse
local-zone: "example.org" transparent

And then configure a forwarder for example.org.

Regards,
-- Ralph

On 14-10-16 17:30, Ковалев Кирилл via Unbound-users wrote:
> Hello, unbound-users!
> 
> It is unclear for me, is unbound capable to serve one zone as forwarder
> and refuse other queries?
> 
> The desired configuration is:
> 
> - forward queries about "example.org <http://example.org>" and subhosts
> ("*.example.org <http://example.org>") to specific NS
> - refuse or drop other queries
> 
> Is it possible to configure unbound in that way?
> 
> -- 
> Best regards,
> Kirill Kovalev



More information about the Unbound-users mailing list