Maintained by: NLnet Labs

[Unbound-users] Resolve only few zones

Alexander Chekalin
Fri Feb 3 13:57:32 CET 2012


Hello,

I deal with a really fuzzy problem. For some reasons we decided to 
create resolver host that will only resolves soveral domains and replay 
with 'nodata' to any other requests. Ok, I've set up the machine, and 
set up unbound on it, then put some stub-zone's into config - works 
great. Now what I need is how to stop unbound to answer for all other 
requests?

If I put

local-zone: "." static

in the config, no requests are answered at all, if I put it by the end 
of config (so stub-zones will be parsed first) I got a configuration error.

If there any way to do what I need?

Thank you in advance,
   Alexander Chekalin