[Unbound-users] Define a local zone to return NXDOMAIN

Maciej Soltysiak maciej at soltysiak.com
Sun Aug 31 19:24:46 UTC 2014


On Sun, Aug 31, 2014 at 4:51 PM, Philipp Berger
<newsletters at philippberger.de> wrote:
> I would like to perform "reverse nxdomain-highjacking". I have defined
> an existing domain I would like to block as a local zone.
> Currently, I reply with a local IP for those zones. But I would like to
> reply with NXDOMAIN.
You mean you want to reply nxdomain for domains of your choosing?
If so, then this is your answer:

local-zone: "ads.youtube.com" refuse
local-zone: "googlesyndication.com" refuse
# etc..

Best regards,
Maciej



More information about the Unbound-users mailing list