Maintained by: NLnet Labs

[Unbound-users] Whitelist some domains, blacklist everything else

Carsten Krüger
Mon May 17 11:33:12 CEST 2010


Hello,

> # this redirects everything to 127.0.0.1
> local-zone: "." redirect
> local-data: ". IN A 127.0.0.1"

> # override for whitelisted domains to resolve normally
> local-zone: "google.com" transparent
> local-zone: "linux.org" transparent

That's a more pretty solution.
Thanks again.

greetings
Carsten