I'm using dns/void-zones-tools to block ads and malware on FreeBSD. Today I tried to add easylist to the hostfile used by void-zones-tools. According to the description on github, this can be done by putting the list into /usr/local/etc/void-zones/x_void_list.txt. But this doesn't seem to be working. I get tons of errors when restarting unbound:
etc. etc......
So the conversion tool hosts2zones doesn't seem to be working for other lists other then the built in ones.
Has anyone done this before succesfully?
Code:
/var/unbound/local-void.zones:112881: error: stray '"'
/var/unbound/local-void.zones:112881: error: unknown keyword ']'
/var/unbound/local-void.zones:112881: error: stray '"'
/var/unbound/local-void.zones:112881: error: unknown keyword 'static'
/var/unbound/local-void.zones:112896: error: local-zone type: expected static, deny, refuse, redirect, transparent, typetransparent, inform, inform_deny, always_transparent, always_refuse, always_nxdomain, noview or nodefault
/var/unbound/local-void.zones:112896: error: stray '"'
/var/unbound/local-void.zones:112896: error: unknown keyword ']'
/var/unbound/local-void.zones:112896: error: stray '"'
/var/unbound/local-void.zones:112896: error: unknown keyword 'static'
/var/unbound/local-void.zones:112900: error: local-zone type: expected static, deny, refuse, redirect, transparent, typetransparent, inform, inform_deny, always_transparent, always_refuse, always_nxdomain, noview or nodefault
So the conversion tool hosts2zones doesn't seem to be working for other lists other then the built in ones.
Has anyone done this before succesfully?