Unbound issues with 24.7.12 (and _2)

Started by gixxer24, January 26, 2025, 01:59:36 AM

Previous topic - Next topic
Hello, ever since I updated to 24.7.12 and later to 24.7.12_2.  I have noticed unbound crashes. (I think this may be related to using the blocklist feature). It will go unresponsive after varying amounts of time. Dns queries to opnsense come back with "no response from server" Has crashed for me 4 times so far since upgrading, was previously  rock solid. Restarting unbound seems to temporarily fix it. Attached is log from it went unresponsive. See? It just kinda poops out for 3 hours until I restart the service

25T18:39:17-06:00 Informational unbound [6788:0] info: server stats for thread 0: requestlist max 16 avg 0.813291 exceeded 12 jostled 0
2025-01-25T18:39:17-06:00 Informational unbound [6788:0] info: server stats for thread 0: 3154 queries, 2860 answers from cache, 294 recursions, 338 prefetch, 0 rejected by ip ratelimiting
2025-01-25T18:39:17-06:00 Informational unbound [6788:0] info: service stopped (unbound 1.22.0).
2025-01-25T18:39:17-06:00 Informational unbound [6788:34] info: dnsbl_module: Logging backend closed connection. Closing pipe and continuing.
2025-01-25T18:39:17-06:00
2025-01-25T18:38:56-06:00 Notice unbound blocklist parsing done in 0.00 seconds (0 records)
2025-01-25T15:24:18-06:00 Informational unbound [6788:29] info: dnsbl_module: successfully opened pipe
2025-01-25T15:24:18-06:00 Informational unbound [6788:29] info: dnsbl_module: attempting to open pipe
2025-01-25T15:24:18-06:00 Informational unbound [6788:2b] info: generate keytag query _ta-4f66. NULL IN
2025-01-25T15:24:18-06:00 Informational unbound [6788:0] info: start of service (unbound 1.22.0).
2025-01-25T15:24:18-06:00 Notice unbound [6788:0] notice: init module 2: iterator
2025-01-25T15:24:18-06:00 Notice unbound [6788:0] notice: init module 1: validator
2025-01-25T15:24:16-06:00 Informational unbound [6788:0] info: dnsbl_module: blocklist loaded. length is 994618
2025-01-25T15:24:15-06:00 Notice unbound Backgrounding unbound logging backend.
2025-01-25T15:24:14-06:00 Informational unbound [6788:0] info: dnsbl_module: updating blocklist.
2025-01-25T15:24:14-06:00 Notice unbound [6788:0] notice: init module 0: python
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.524288 1.000000 2
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.262144 0.524288 4
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.131072 0.262144 15
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.065536 0.131072 15
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.032768 0.065536 6
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.016384 0.032768 2
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.002048 0.004096 2
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.001024 0.002048 1
2025-01-25T15:23:40-06:00 Informational unbound [90738:0] info: 0.000000 0.000001 34

I had to disable recursive to get it to work.

Blocklist works with forwarding as well.

Hopefully the next version will fix it!