I've configured a C203 VM to use red as static and the knot-resolver does not get up properly during boot up. When I try to manually start the resolver got the following error message: 08:46:16 kresd[4177]: [system] error while loading config: /usr/lib/knot-resolver/config.lua:165: bad argument #1 to 'lines' (/var/run/dns1: No such file or directory) (workdir '/run/knot-resolver')
PS: The same error also happens when "/var/run/dns2" does not exist.
PPS: After manually creating both files (empty), knot-resolver started successfully.
After checking the DNS settings file, I found, that the USE_ISP_NAMESERVERS vaule is enabled (default value on new installations). In conclusion with this setting the config.lua script requires the "/var/run/dns*/ files to obtain the assigned DNS servers, which never happens on a static confgured RED interface.
> https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=4494939c7e41c144d040daf24a7b2bc0371f1d16