Public bug reported: Starting with version 1.19, when loading unbound and using include directive to load a large file with lots of NXDOMAIN (244 859 entries), unbound gives a memory exhausted error and does not load on Ubuntu 24.04
To reproduce Steps to reproduce the behavior: add include directive to file with lots (over 244000) of entries like this "local-zone: "vip.xvpn.io" always_nxdomain" unbound.conf: include: /etc/unbound/zones/db.malware.zone try to start unbound with service start unbound Expected behavior Unbound should start System: Unbound version: 1.19.2 (1.19.2-1ubuntu3.3) OS: Ubuntu Noble 24.04.1 unbound: 1.19.2-1ubuntu3.3 Additional information Error message: unbound-helper[236519]: /etc/unbound/zones/db.malware.zone:23463: error: memory exhausted Older package 1.19.2-1ubuntu3.1 is working fine with the configuration If I use just a couple of lines /e.g. 20000) in the include directive works just fine and unbound loads and returns NXDOMAIN for the few remaining domains. ** Affects: unbound (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2087526 Title: unbound 1.19.2-1ubuntu3.3 with large zone files > 24.000 lines : memory exhausted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/2087526/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs