Assistance Needed: "Too Many Records" Error When Reloading Zone `example.com`, BIND: 9.18.29

Petr Špaček pspacek at isc.org
Mon Sep 23 07:30:21 UTC 2024


On 23. 09. 24 8:07, Peter Davies wrote:
> *Additional Information:*
> - Zone File Structure: The zone file contains a high number of TXT 
> records, particularly for infrastructure asset IDs.
> 
> *Request for Assistance:*
> 1. _Understanding the Limit:_ Is there a configurable limit in BIND that 
> restricts the number of records per zone? If so, how can we adjust this 
> limit to accommodate our current zone size?

Albeit you can adjust configuration to allow more records in one place 
it is not recommended. Doing so opens possibility of DoS attacks.

> 2. _Optimization Tips:_ Are there best practices for managing large 
> zones with thousands of records to prevent such issues?
> 3. _Error Interpretation:_ Can the “too many records” error be mitigated 
> by restructuring the zone file or employing specific configurations?
In short yes. You will also get better performance if you spread out the 
records across multiple _names_. Besides other things size of single 
resource record _set_ is limited to 64 kB so putting all records onto a 
single node would eventually create issues even without this limit.

I hope it helps to understand the situation.

-- 
Petr Špaček
Internet Systems Consortium


More information about the bind-users mailing list