On 2024-11-16, ckeader <ckea...@disroot.org> wrote:
>
> Since the upgrade to 7.6, I have been unable to use unbound in the
> previous configuration.
>
> root@router ~ # rcctl -df start unbound
> doing _rc_parse_conf
> unbound_flags >-c /var/unbound/etc/unbound.conf<
> doing rc_check
> unbound
> doing rc_pre
> /var/unbound/db/root.key has content
> success: the anchor is ok
> /var/unbound/etc/blocklistproject/ads.txt.conf:9973: error: yacc stack 
> overflow
> read /var/unbound/etc/unbound.conf failed: 1 errors in configuration file
> doing _rc_rm_runfile
> (failed)
> root@router ~ #
>
> In this case, I'm using an unboundified version of ads.txt from the
> blocklist project, https://github.com/blocklistproject/Lists. These
> files are pretty large, in this case >250k lines. Manual editing to
> reduce file size is not an option.
>
> The error message makes me think that this is not a configurable limit
> in unbound.
>
> Any suggestions how to tackle this?

I guess you're using local zones for this - I would look into using RPZ
instead. I haven't tried it myself but hopefully this will get you started:

https://blog.nlnetlabs.nl/response-policy-zones-in-unbound/




-- 
Please keep replies on the mailing list.

Reply via email to