Hi,

"transparent" local-zones will do the trick:

# ---
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: "."

# ---

--
 Daisuke HIGASHI <[email protected]>

2015-06-16 17:58 GMT+09:00 Mikolaj Kucharski <[email protected]>:
> Hi,
>
> I'm wondering is it possible to configure Unbound in such a way that
> it will return REFUSED for any query, except zones which are explicitly
> configured in the config file.
_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to