duplicate local-zone

Simon Deziel simon+unbound at sdeziel.info
Fri Jun 1 20:05:16 UTC 2018

On 2018-06-01 03:48 PM, Fongaboo via Unbound-users wrote:
> I've compiled a blacklist of adtracking sites that I'm trying to block
> by redirecting to Some example entries:
> local-zone: "0-act.channel.facebook.com" redirect
> local-data: "0-act.channel.facebook.com A"
> local-zone: "0-edge-chat.facebook.com" redirect
> local-data: "0-edge-chat.facebook.com A"
> I've included the file with an include: reference in unbound.conf. But
> if I run unbound-checkconf, I get warnings about duplicate local-zones,
> even though I have confirmed there are none in my file.

Just putting the "local-data" line should automatically create the right
local-zone implicitly:

  local-data: "0-act.channel.facebook.com A"
  local-data: "0-edge-chat.facebook.com A"

Maybe that will fix the dup zones problem, I don't know.


More information about the Unbound-users mailing list