OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: tillsense on January 24, 2023, 07:53:14 pm

Title: [SOLVED] 23.1.r2 - Unbound Error
Post by: tillsense on January 24, 2023, 07:53:14 pm
Hi all,

Unbound Log:
Code: [Select]
SystemError: <built-in function close> returned a result with an error set
  os.close(ctx.pipe_fd)
  File "dnsbl_module.py", line 265, in deinit
  Traceback (most recent call last):
  The above exception was the direct cause of the following exception:
  AttributeError: 'NoneType' object has no attribute 'security'
  ctx.log_entry(*info, ACTION_PASS, SOURCE_LOCALDATA, None, rcode, 0, rep.security, rep.ttl)
  File "dnsbl_module.py", line 234, in local_cb
2023-01-24T18:18:43 Error unbound [24474:0] error: pythonmod: python error: Traceback (most recent call last):
2023-01-24T18:18:43 Error unbound [24474:0] error: pythonmod: Exception occurred in function deinit
2023-01-24T18:16:53 Error unbound Unable to open pipe. This is likely because Unbound isn't running.


dnsbl_module.py I assume are the Unbound DNS blacklists but they are not active...also I have thousands of dns requests to "rulesets.opnsense.org". What is this?

The only thing I changed is to enable the dns statistics locally under reporting. (Still the DOT config with 3 times start of Unbound...)

cheers
till
Title: Re: 23.1.r2 - Unbound Error
Post by: franco on January 25, 2023, 08:40:27 am
That should be addressed by https://github.com/opnsense/core/commit/7675b161912c

Thanks for the report!
Title: [SOLVED] Re: 23.1.r2 - Unbound Error
Post by: tillsense on January 26, 2023, 07:47:28 pm
Hi Franco,

yes it was... unbound also no longer starts/reboots 3 times.  :D

cheers
till