Fatal error with knot in update core 203

Hello again. I’m having this problem with an IPFire.

IPFire diagnostics
Sección: dns
Fecha: Agosto 19, 2026

10:54:50 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:50 supervisord:  captured stdio output from kresd1[16236] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory
10:54:50 supervisord:  waiting for kresd0, kresd1 to die
10:54:50 supervisord:  gave up: manager entered FATAL state, too many start retries too quickly
10:54:50 supervisord:  manager process entered FATAL state! Shutting down
10:54:50 supervisord:  spawned: 'kresd1' with pid 16236
10:54:49 supervisord:  exited: manager (exit status 1; not expected)
10:54:48 knot_resolver.manager.server: Uncaught generic exception during manager inicialization... Traceback (most recent call last):   File "/usr/lib/python3.10/site-packages/knot_resolver/controller/supervisord/__init__.py", line 213, in _start     supervisord.startProcess(self.name)   File "/usr/lib/python3.10/xmlrpc/client.py", line 1122, in __call__     return self.__send(self.__name, args)   File "/usr/lib/python3.10/xmlrpc/client.py", line 1464, in __request     response = self.__transport.request(   File "/usr/lib/python3.10/site-packages/supervisor/xmlrpc.py", line 551, in request     return u.close()   File "/usr/lib/python3.10/xmlrpc/client.py", line 668, in close     raise Fault(**self._stack[0]) xmlrpc.client.Fault: <Fault 50: 'SPAWN_ERROR: kresd:kresd1'>  The above exception was the direct cause of the following exception:  Traceback (most recent call last):    File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 299, in apply_config     await self._ensure_number_of_children(config, int(config.workers))   File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 189, in _ensure_number_of_children     await self._spawn_new_worker(config)   File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 155, in _spawn_new_worker     await subprocess.start()   File "/usr/lib/python3.10/site-packages/knot_resolver/controller/interface.py", line 136, in start     await self._start()   File "/usr/lib/python3.10/site-packages/knot_resolver/utils/compat/asyncio.py", line 24, in wrapper     return await to_thread(func, *args, **kwargs)   File "/usr/lib/python3.10/site-packages/knot_resolver/utils/compat/asyncio.py", line 15, in to_thread     return await asyncio.to_thread(func, *args, **kwargs)   File "/usr/lib/python3.10/asyncio/threads.py", line 25, in to_thread     return await loop.run_in_executor(None, func_call)   File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run     result = self.fn(*self.args, **self.kwargs)   File "/us
10:54:48 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:48 kresd[16234]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:48 kresd[16234]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:48 kresd[16234]:  [defer ] Defer initialized (generic). 
10:54:48 kresd[16234]:  [defer ] Initializing defer... 
10:54:48 kresd[16234]:  [cache ] Cache top initialized using existing data (generic). 
10:54:48 kresd[16234]:  [system] path = /run/knot-resolver/control/0 
10:54:48 supervisord:  spawned: 'kresd0' with pid 16234
10:54:48 knot_resolver.manager.manager:  Reloading system state and trying again.
10:54:48 knot_resolver.manager.manager: Failed to apply config:  failed to start 'kresd:kresd1'
10:54:48 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:48 kresd[16233]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:48 kresd[16233]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:48 kresd[16233]:  [defer ] Defer initialized (generic). 
10:54:48 kresd[16233]:  [defer ] Initializing defer... 
10:54:48 kresd[16233]:  [cache ] Cache top initialized using existing data (generic). 
10:54:48 kresd[16233]:  [system] path = /run/knot-resolver/control/1 
10:54:48 supervisord:  spawned: 'kresd1' with pid 16233
10:54:48 knot_resolver.manager.manager:  Kresd with the new config failed to start, rejecting config
10:54:48 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:48 kresd[16232]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:48 kresd[16232]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:48 kresd[16232]:  [defer ] Defer initialized (generic). 
10:54:48 kresd[16232]:  [defer ] Initializing defer... 
10:54:48 kresd[16232]:  [cache ] Cache top initialized using existing data (generic). 
10:54:48 kresd[16232]:  [system] path = /run/knot-resolver/control/0 
10:54:48 supervisord:  spawned: 'kresd0' with pid 16232
10:54:46 supervisord:  exited: policy-loader (exit status 0; expected)
10:54:46 kresd[16221]:  [cache ] Cache top initialized using existing data (generic). 
10:54:45 supervisord:  success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
10:54:45 supervisord:  spawned: 'policy-loader' with pid 16221
10:54:43 knot_resolver.controller.supervi:  Supervisord is already running, we will just update its config...
10:54:43 knot_resolver.controller:  Selected controller 'supervisord'
10:54:43 knot_resolver.controller:  Available subprocess controllers are ('supervisord',)
10:54:43 knot_resolver.controller:  Starting service manager auto-selection...
10:54:43 knot_resolver.manager.logger:  Changing logging level to 'INFO'
10:54:43 knot_resolver.manager.server:  Loading configuration from '/etc/knot-resolver/config.yaml' file.
10:54:40 supervisord:  gave up: kresd1 entered FATAL state, too many start retries too quickly
10:54:40 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:40 supervisord:  captured stdio output from kresd1[16215] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory
10:54:40 supervisord:  spawned: 'kresd1' with pid 16215
10:54:39 supervisord:  gave up: kresd0 entered FATAL state, too many start retries too quickly
10:54:39 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:39 kresd[16213]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:39 kresd[16213]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:39 kresd[16213]:  [defer ] Defer initialized (generic). 
10:54:39 kresd[16213]:  [defer ] Initializing defer... 
10:54:39 kresd[16213]:  [cache ] Cache top initialized using existing data (generic). 
10:54:39 kresd[16213]:  [system] path = /run/knot-resolver/control/0 
10:54:39 supervisord:  spawned: 'kresd0' with pid 16213
10:54:37 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:37 supervisord:  captured stdio output from kresd1[16210] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory
10:54:37 supervisord:  spawned: 'manager' with pid 16211
10:54:37 supervisord:  spawned: 'kresd1' with pid 16210
10:54:36 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:36 kresd[16209]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:36 kresd[16209]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:36 kresd[16209]:  [defer ] Defer initialized (generic). 
10:54:36 kresd[16209]:  [defer ] Initializing defer... 
10:54:36 kresd[16209]:  [cache ] Cache top initialized using existing data (generic). 
10:54:36 kresd[16209]:  [system] path = /run/knot-resolver/control/0 
10:54:36 supervisord:  spawned: 'kresd0' with pid 16209
10:54:35 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:35 supervisord:  captured stdio output from kresd1[16207] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory
10:54:35 supervisord:  spawned: 'kresd1' with pid 16207
10:54:33 supervisord:  exited: manager (exit status 1; not expected)
10:54:33 knot_resolver.manager.server: Uncaught generic exception during manager inicialization... Traceback (most recent call last):   File "/usr/lib/python3.10/site-packages/knot_resolver/controller/supervisord/__init__.py", line 213, in _start     supervisord.startProcess(self.name)   File "/usr/lib/python3.10/xmlrpc/client.py", line 1122, in __call__     return self.__send(self.__name, args)   File "/usr/lib/python3.10/xmlrpc/client.py", line 1464, in __request     response = self.__transport.request(   File "/usr/lib/python3.10/site-packages/supervisor/xmlrpc.py", line 551, in request     return u.close()   File "/usr/lib/python3.10/xmlrpc/client.py", line 668, in close     raise Fault(**self._stack[0]) xmlrpc.client.Fault: <Fault 50: 'SPAWN_ERROR: kresd:kresd1'>  The above exception was the direct cause of the following exception:  Traceback (most recent call last):    File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 299, in apply_config     await self._ensure_number_of_children(config, int(config.workers))   File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 189, in _ensure_number_of_children     await self._spawn_new_worker(config)   File "/usr/lib/python3.10/site-packages/knot_resolver/manager/manager.py", line 155, in _spawn_new_worker     await subprocess.start()   File "/usr/lib/python3.10/site-packages/knot_resolver/controller/interface.py", line 136, in start     await self._start()   File "/usr/lib/python3.10/site-packages/knot_resolver/utils/compat/asyncio.py", line 24, in wrapper     return await to_thread(func, *args, **kwargs)   File "/usr/lib/python3.10/site-packages/knot_resolver/utils/compat/asyncio.py", line 15, in to_thread     return await asyncio.to_thread(func, *args, **kwargs)   File "/usr/lib/python3.10/asyncio/threads.py", line 25, in to_thread     return await loop.run_in_executor(None, func_call)   File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run     result = self.fn(*self.args, **self.kwargs)   File "/us
10:54:33 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:33 kresd[16204]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:33 kresd[16204]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:33 kresd[16204]:  [defer ] Defer initialized (generic). 
10:54:33 kresd[16204]:  [defer ] Initializing defer... 
10:54:33 kresd[16204]:  [cache ] Cache top initialized using existing data (generic). 
10:54:33 kresd[16204]:  [system] path = /run/knot-resolver/control/0 
10:54:33 supervisord:  spawned: 'kresd0' with pid 16204
10:54:33 knot_resolver.manager.manager:  Reloading system state and trying again.
10:54:33 knot_resolver.manager.manager: Failed to apply config:  failed to start 'kresd:kresd1'
10:54:33 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:33 kresd[16203]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:33 kresd[16203]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:33 kresd[16203]:  [defer ] Defer initialized (generic). 
10:54:33 kresd[16203]:  [defer ] Initializing defer... 
10:54:33 kresd[16203]:  [cache ] Cache top initialized using existing data (generic). 
10:54:33 kresd[16203]:  [system] path = /run/knot-resolver/control/1 
10:54:33 supervisord:  spawned: 'kresd1' with pid 16203
10:54:33 knot_resolver.manager.manager:  Kresd with the new config failed to start, rejecting config
10:54:33 supervisord:  exited: kresd0 (exit status 1; not expected)
10:54:32 kresd[16202]:  [system] error while loading config: /usr/lib/knot-resolver/config.lua:130: attempt to index local 'address' (a nil value) (workdir '/run/knot-resolver') 
10:54:32 kresd[16202]:  [defer ] Defer configuration:   Expected cpus/procs:     4   Max waiting requests:   64.0 MiB   Request timeout:         1.0 s    Idle:                    1.0 ms   UDP phase:             400.0 us   Non-UDP phase:         400.0 us   Priority levels:        25 (4 main levels, 8 sublevels) + UDP   KRU capacity:          524.3 k (4.2 MiB)   Decay:                   0.012 % per ms (32-bit max: 524280)     Half-life:             5.7 s      Priority rise in:     22.7 s      Counter reset in:     90.8 s    Rate limits for crossing priority levels as single CPU utilization:                             1             2             3           max          v4/32 :        0.012 %       0.195 %       3.125 %      49.999 %          v4/24 :        0.391 %       6.250 %     100.000 %    1599.976 %          v4/20 :        3.125 %      50.000 %     800.000 %   12799.805 %          v4/18 :        9.375 %     150.000 %    2400.000 %   38399.414 %          v6/128:        0.012 %       0.195 %       3.125 %      49.999 %          v6/64 :        0.024 %       0.391 %       6.250 %      99.998 %          v6/56 :        0.037 %       0.586 %       9.375 %     149.998 %          v6/48 :        0.049 %       0.781 %      12.500 %     199.997 %          v6/32 :        0.781 %      12.500 %     200.000 %    3199.951 %   Instant limits for crossing priority levels as CPU time:                             1             2             3           max          v4/32 :          1.0 ms       16.0 ms      256.0 ms        4.1 s           v4/24 :         32.0 ms      512.0 ms        8.2 s       131.1 s           v4/20 :        256.0 ms        4.1 s        65.5 s      1048.6 s           v4/18 :        768.0 ms       12.3 s       196.6 s      3145.7 s           v6/128:          1.0 ms       16.0 ms      256.0 ms        4.1 s           v6/64 :          2.0 ms       32.0 ms      512.0 ms        8.2 s           v6/56 :          3.0 ms       48.0 ms      768.0 ms       12.3 s           v6/48 :          4.0 ms       64.0 ms  
10:54:32 kresd[16202]:  [defer ] Defer initialized (generic). 
10:54:32 kresd[16202]:  [defer ] Initializing defer... 
10:54:32 kresd[16202]:  [cache ] Cache top initialized using existing data (generic). 
10:54:32 kresd[16202]:  [system] path = /run/knot-resolver/control/0 
10:54:32 supervisord:  spawned: 'kresd0' with pid 16202
10:54:31 supervisord:  exited: policy-loader (exit status 0; expected)
10:54:30 kresd[16200]:  [cache ] Cache top initialized using existing data (generic). 
10:54:30 supervisord:  success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
10:54:30 supervisord:  spawned: 'policy-loader' with pid 16200
10:54:28 knot_resolver.controller.supervi:  Supervisord is already running, we will just update its config...
10:54:28 knot_resolver.controller:  Selected controller 'supervisord'
10:54:28 knot_resolver.controller:  Available subprocess controllers are ('supervisord',)
10:54:28 knot_resolver.controller:  Starting service manager auto-selection...
10:54:28 knot_resolver.manager.logger:  Changing logging level to 'INFO'
10:54:28 knot_resolver.manager.server:  Loading configuration from '/etc/knot-resolver/config.yaml' file.
10:54:26 supervisord:  gave up: kresd1 entered FATAL state, too many start retries too quickly
10:54:26 supervisord:  exited: kresd1 (exit status 1; not expected)
10:54:26 supervisord:  captured stdio output from kresd1[16196] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory
10:54:26 supervisord:  spawned: 'kresd1' with pid 16196
10:54:26 supervisord:  gave up: kresd0 entered FATAL state, too many start retries too quickly
10:54:25 supervisord:  exited: kresd0 (exit status 1; not expected)

I’m searching the forum for a solution but I can’t find anything for this. I’ve tried:

[root@bs ~]# kresctl cache clear

No such file or directory.
        URL:           http+unix://%2Frun%2Fknot-resolver%2Fkres-api.sock/cache/clear
        Host/Path:     /run/knot-resolver/kres-api.sock
        Sourced from:  Default value "/run/knot-resolver/kres-api.sock"
Is the URL correct?
        Unix socket would start with http+unix:// and URL encoded path.
        Inet sockets would start with http:// and domain or ip

[root@bs ~]#

And I don’t know what to do. Any ideas would be appreciated.

I don’t know how I fixed it, but I think I did this and, with time, it started working:

  1. Url filter disable in Squid.
  2. rm /var/cache/knot-resolver/*mdb
  3. /etc/rc.d/init.d/knot-resolver restart
  4. DHCP disable/enable
  5. /etc/rc.d/init.d/knot-resolver restart
  6. Wait.

Maybe I’m talking nonsense, but it’s been sorted out.

The mysteries of CU203…
You didn’t say when the error occurred?

  • After installation or upgrade?
  • After a DNS configuration change ?
  • After a DHCP configuration change?

Yes, let me explain.

As a matter of course, seeing as version 203 is a bit finicky, before updating from 201 to 203 I perform a series of checks.

  1. I check that there’s nothing in “Network → Edit host/DNS forwarding/Static Routes”.
  2. I leave the DNS servers as “Google (8.8.8.8/8.8.4.4)” and add “Lightning Wire Labs”. Then, in “Pakfire” → “Refresh List”, I proceed with the update.
  3. In this case, once the update was complete, the add-ons weren’t updated, although the version was updated to 203.
  4. If I tried again, it gave an error saying it couldn’t find the servers (which makes sense, since Knot wasn’t working).

Regards.

Then we will not be able to find out what went wrong in your specific case.

Your log said

This says that the config.lua code tried to find out the address of one of your local addresses and had a ‘nil’ result at the code in line 130.

Without being able to find out what which local address was not being found it is not possible to find out why it ended up with a nil value, ie undefined.

Presumably now that you have got it running the DNS system log no longer showa the config.lua error.

Good morning,

I’ve also been having DNS issues on my ipFire system since the Core Update 203.
Without having changed anything, an internal website (which I had specified under Network/Hosts) stopped resolving yesterday, even though the target system was running.
By the evening, I could no longer access normal websites, and the DNS configuration showed a “faulty” status.
I then found this post here and deleted the MDB file for the knot-resolver and restarted it.
After doing this, the DNS was once again shown as functional, and my internal website was resolved as well.
There really seem to be some serious issues with the knot-resolver here.