Apparently you have 295108 zones, maybe you can try one single rpz zone with all 295108 fqdn's like

.....

12724[.]xyz IN CNAME .
21736[.[xyz IN CNAME .

.....

instead of one zone per fqdn, and see if the memory footprint changes (both VMEM and RES)

Good luck!

Carlos Horowicz
Planisys

On 01/07/2025 19:27, OwN-3m-All wrote:
>>  Apologies if I misunderstood your setup. I’ve also encountered memory issues in recent BIND versions — BIND 9.18.33 on Debian 12 is a tremendous beast, capable of handling millions of QPS — but after reducing logging (including DNSTAP) and disabling serve-stale, I saw a significant improvement in both performance and memory usage.

Sorry, there's 295,108 hosts I'm serving up as 127.0.0.1 (for ad blocking).

I zipped my entire /etc/bind directory (which includes all configs).  It's available to download here:

https://dinofly.com/files/linux/bind/bind_config_9.20_out_of_memory_bind_9.18_fine.zip


--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to