Size limit on unbound.conf or forward zone Files?

Hello,

I have looked through several docs and have not found whether there is a size limit (file or number of entries) for forward zones. We plan to use unbound strictly as a forwarding DNS server and use two “include:” statements in “unbound.conf” to load forwarding zone files. One such file has almost 2000 domains configured.

I have ran “/usr/sbin/unbound-checkconf” and there are no erors reported. I’d just like to verify if there is a limit to the number of forward zones or file size.

Thanks!

Hi Daniel,

There is no actual size limit.

There is a limit on the system's memory though, since unbound will need to have internal data structures for the forwarders.
You will reach that limit when unbound refuses to start because it is out of memory.

Best regards,
-- George