* Core 203 - DNS firewall doesn't update (?) or add (!) - zone files @ 2026-07-22 13:02 Matthias Fischer 2026-07-22 13:28 ` Mentalic 2026-07-23 9:05 ` Michael Tremer 0 siblings, 2 replies; 8+ messages in thread From: Matthias Fischer @ 2026-07-22 13:02 UTC (permalink / raw) To: IPFire: Development-List Hi, I have one problem with Core 203 and I'm not sure whats the culprit: No matter what I do, Core 203 won't download additional zone files. After rebooting I found the already used and activated blocklists (from Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're working - no seen problem. But even if I activate them all on the DNSBL page, nothing gets downloaded, the selection and number of block lists always remain the same. It won't add or remove any of the existing lists. Can anyone confirm? OR give me a hint where to look at? Thanks in advance Matthias ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-22 13:02 Core 203 - DNS firewall doesn't update (?) or add (!) - zone files Matthias Fischer @ 2026-07-22 13:28 ` Mentalic 2026-07-23 9:06 ` Michael Tremer 2026-07-23 9:05 ` Michael Tremer 1 sibling, 1 reply; 8+ messages in thread From: Mentalic @ 2026-07-22 13:28 UTC (permalink / raw) To: development Hi, I can verify that the DNS firewall is not working in 203. Ended up going back to 202. Regards Wayne On 7/22/2026 8:02 AM, Matthias Fischer wrote: > Hi, > > I have one problem with Core 203 and I'm not sure whats the culprit: > > No matter what I do, Core 203 won't download additional zone files. > > After rebooting I found the already used and activated blocklists (from > Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're > working - no seen problem. But even if I activate them all on the DNSBL > page, nothing gets downloaded, the selection and number of block lists > always remain the same. It won't add or remove any of the existing lists. > > Can anyone confirm? OR give me a hint where to look at? > > Thanks in advance > Matthias > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-22 13:28 ` Mentalic @ 2026-07-23 9:06 ` Michael Tremer 0 siblings, 0 replies; 8+ messages in thread From: Michael Tremer @ 2026-07-23 9:06 UTC (permalink / raw) To: Mentalic; +Cc: development Hello Wayne, There are currently no confirmed reports about the DNS firewall not working. If you are experiencing a problem, please provide log files, what you did to debug it and potentially open a bug report with all information. All the best, -Michael > On 22 Jul 2026, at 14:28, Mentalic <mentalic@cox.net> wrote: > > Hi, > > I can verify that the DNS firewall is not working in 203. Ended up going back to 202. > > > Regards > > Wayne > > On 7/22/2026 8:02 AM, Matthias Fischer wrote: >> Hi, >> >> I have one problem with Core 203 and I'm not sure whats the culprit: >> >> No matter what I do, Core 203 won't download additional zone files. >> >> After rebooting I found the already used and activated blocklists (from >> Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're >> working - no seen problem. But even if I activate them all on the DNSBL >> page, nothing gets downloaded, the selection and number of block lists >> always remain the same. It won't add or remove any of the existing lists. >> >> Can anyone confirm? OR give me a hint where to look at? >> >> Thanks in advance >> Matthias >> >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-22 13:02 Core 203 - DNS firewall doesn't update (?) or add (!) - zone files Matthias Fischer 2026-07-22 13:28 ` Mentalic @ 2026-07-23 9:05 ` Michael Tremer 2026-07-23 21:17 ` Matthias Fischer 1 sibling, 1 reply; 8+ messages in thread From: Michael Tremer @ 2026-07-23 9:05 UTC (permalink / raw) To: Matthias Fischer; +Cc: IPFire: Development-List Hello Matthias, What happens when you run "update-rpzs”? -Michael > On 22 Jul 2026, at 14:02, Matthias Fischer <matthias.fischer@ipfire.org> wrote: > > Hi, > > I have one problem with Core 203 and I'm not sure whats the culprit: > > No matter what I do, Core 203 won't download additional zone files. > > After rebooting I found the already used and activated blocklists (from > Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're > working - no seen problem. But even if I activate them all on the DNSBL > page, nothing gets downloaded, the selection and number of block lists > always remain the same. It won't add or remove any of the existing lists. > > Can anyone confirm? OR give me a hint where to look at? > > Thanks in advance > Matthias > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-23 9:05 ` Michael Tremer @ 2026-07-23 21:17 ` Matthias Fischer 2026-07-24 15:44 ` Michael Tremer 0 siblings, 1 reply; 8+ messages in thread From: Matthias Fischer @ 2026-07-23 21:17 UTC (permalink / raw) To: IPFire: Tremer, Michael; +Cc: IPFire: Development-List [-- Attachment #1: Type: text/plain, Size: 3535 bytes --] (2nd try - this didn't show up on the public inbox, so I removed the attachments) ########## On 23.07.2026 11:05, Michael Tremer wrote: > Hello Matthias, Hi Michael, sorry, this is a bit longer. ;-) > What happens when you run "update-rpzs”? Cursor went one line down...waited...and showed normal bash prompt again. No errors. But something weird happened before - I had some problems, found a solution, but don't know what the solution was... ;-) Steps to reproduce (perhaps?): - I built an update for 'knot-resolver v6.4.1' under Core 203 - this was built without any problem, I only had to deactivate the existing patch file. Hm. - I stripped the files by hand and built an archive with the command:tar cvfz ../uploads/knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C build_x86_64 --files-from=config/rootfiles/common/knot-resolver I'm doing this procedure all the time with all updated programs so I can install and test them on my testmachine or my productive machine, whatever comes first. - In the next step I copied this resolver-archive to the root directory of my productive machine (sigh!), stopped the running 'knot-resolver' (at least I think this stops him) with '/etc/init.d/knot-resolver stop' and extracted the archive with the command: tar xvf knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C / E.g., I did this the same way before I pushed the last 'knot 3.5.6'-update. No problem. Until the update for 'knot-resolver 6.4.1'. Result: - Restarting the 'knot-resolver 6.4.1' failed, DNS was completely broken. And the 'Domain Name Sstem'-Log was filled with 'kresd' and 'knot_resolver.manager.server:' errors ("kresd[20064]: [system] error while loading config: error occurred here" or "Uncaught generic exception during manager inicialization"). Hm! Since I had backups of all essential files of the previous version (6.4.0), I copied them back - with the same result. DNS stayed broken, no matter what I did. Old version, new version, nothing started, always the same crashes. I checked rights, I checked contents, rebooted, no chance. I don't know if I missed something - nothing worked. Then today I copied a fresh built 'core-upgrade-2.29-203.ipfire' to '/opt/pakfire/tmp' and updated the whole system just like I did a few days ago through pakfire, only this time from console per './update.sh' and rebooted. Suddenly DNS was running - and I could add the "Gambling" list (e.g.) to DNS-Firewall - it was downloaded and seems to work. So now DNS is working (again) but I don't know why it was broken and I don't know what fixed it in the end... weird. EDIT: If it helps I could open a bug report, explain the process and attach an excerpt of the dns log. ;-) I don't like to push this update until I know what happened... ;-) Best Matthias > -Michael > >> On 22 Jul 2026, at 14:02, Matthias Fischer <matthias.fischer@ipfire.org> wrote: >> >> Hi, >> >> I have one problem with Core 203 and I'm not sure whats the culprit: >> >> No matter what I do, Core 203 won't download additional zone files. >> >> After rebooting I found the already used and activated blocklists (from >> Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're >> working - no seen problem. But even if I activate them all on the DNSBL >> page, nothing gets downloaded, the selection and number of block lists >> always remain the same. It won't add or remove any of the existing lists. >> >> Can anyone confirm? OR give me a hint where to look at? >> >> Thanks in advance >> Matthias >> >> > > [-- Attachment #2: Deleted: excerpt-from DNS log.txt --] [-- Type: text/x-moz-deleted, Size: 280 bytes --] You deleted an attachment from this message. The original MIME headers for the attachment were: Content-Type: text/plain; charset=UTF-8; name="excerpt-from DNS log.txt" Content-Disposition: attachment; filename="excerpt-from DNS log.txt" Content-Transfer-Encoding: base64 [-- Attachment #3: Deleted: knot-resolver-6.4.1-for-ipfire-Core203.tar.gz --] [-- Type: text/x-moz-deleted, Size: 317 bytes --] You deleted an attachment from this message. The original MIME headers for the attachment were: Content-Type: application/gzip; name="knot-resolver-6.4.1-for-ipfire-Core203.tar.gz" Content-Disposition: attachment; filename="knot-resolver-6.4.1-for-ipfire-Core203.tar.gz" Content-Transfer-Encoding: base64 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-23 21:17 ` Matthias Fischer @ 2026-07-24 15:44 ` Michael Tremer 2026-07-24 18:34 ` Matthias Fischer 0 siblings, 1 reply; 8+ messages in thread From: Michael Tremer @ 2026-07-24 15:44 UTC (permalink / raw) To: Matthias Fischer; +Cc: IPFire: Development-List Hello Matthias, You seem to have two problems why Knot Resolver did not come up. The first one is this: 08:56:53 supervisord: captured stdio output from kresd1[20077] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory The directory will be created in the updater and at boot time, so I suppose something went wrong here. Potentially a reboot would have fixed it. The second one is this: 08:56:49 kresd[20066]: [net ] bind to '0.0.0.0@53' (UDP): Permission denied 08:56:49 kresd[20066]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved): stack traceback: [C]: in function 'listen' kresd0.conf:123: in main chunk ERROR: net.listen() failed to bind (workdir '/run/knot-resolver’) Knot Resolver does not run as root and is therefore not allowed to bind to any of the privileged ports < 1024 to which 53 belongs. We solve this by giving the binary special capabilities which might have been lost when you extracted the tarball. So I don’t think that this is general bug in Knot Resolver or IPFire, but just a slightly botched development system maybe?! -Michael > On 23 Jul 2026, at 22:17, Matthias Fischer <matthias.fischer@ipfire.org> wrote: > > (2nd try - this didn't show up on the public inbox, so I removed the > attachments) > > ########## > > On 23.07.2026 11:05, Michael Tremer wrote: >> Hello Matthias, > > Hi Michael, > > sorry, this is a bit longer. ;-) > >> What happens when you run "update-rpzs”? > > Cursor went one line down...waited...and showed normal bash prompt > again. No errors. > > But something weird happened before - I had some problems, found a > solution, but don't know what the solution was... ;-) > > Steps to reproduce (perhaps?): > - I built an update for 'knot-resolver v6.4.1' under Core 203 - this was > built without any problem, I only had to deactivate the existing patch > file. Hm. > > - I stripped the files by hand and built an archive with the command:tar > cvfz ../uploads/knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C > build_x86_64 --files-from=config/rootfiles/common/knot-resolver > > I'm doing this procedure all the time with all updated programs so I can > install and test them on my testmachine or my productive machine, > whatever comes first. > > - In the next step I copied this resolver-archive to the root directory > of my productive machine (sigh!), stopped the running 'knot-resolver' > (at least I think this stops him) with '/etc/init.d/knot-resolver stop' > and extracted the archive with the command: > tar xvf knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C / > > E.g., I did this the same way before I pushed the last 'knot > 3.5.6'-update. No problem. Until the update for 'knot-resolver 6.4.1'. > > Result: > - Restarting the 'knot-resolver 6.4.1' failed, DNS was completely broken. > And the 'Domain Name Sstem'-Log was filled with 'kresd' and > 'knot_resolver.manager.server:' errors ("kresd[20064]: [system] error > while loading config: error occurred here" or "Uncaught generic > exception during manager inicialization"). > > Hm! > > Since I had backups of all essential files of the previous version > (6.4.0), I copied them back - with the same result. DNS stayed broken, > no matter what I did. Old version, new version, nothing started, always > the same crashes. I checked rights, I checked contents, rebooted, no > chance. I don't know if I missed something - nothing worked. > > Then today I copied a fresh built 'core-upgrade-2.29-203.ipfire' to > '/opt/pakfire/tmp' and updated the whole system just like I did a few > days ago through pakfire, only this time from console per './update.sh' > and rebooted. > > Suddenly DNS was running - and I could add the "Gambling" list (e.g.) to > DNS-Firewall - it was downloaded and seems to work. > > So now DNS is working (again) but I don't know why it was broken and I > don't know what fixed it in the end... weird. > > EDIT: > If it helps I could open a bug report, explain the process and attach an > excerpt of the dns log. ;-) > > I don't like to push this update until I know what happened... ;-) > > Best > Matthias > >> -Michael >> >>> On 22 Jul 2026, at 14:02, Matthias Fischer <matthias.fischer@ipfire.org> wrote: >>> >>> Hi, >>> >>> I have one problem with Core 203 and I'm not sure whats the culprit: >>> >>> No matter what I do, Core 203 won't download additional zone files. >>> >>> After rebooting I found the already used and activated blocklists (from >>> Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're >>> working - no seen problem. But even if I activate them all on the DNSBL >>> page, nothing gets downloaded, the selection and number of block lists >>> always remain the same. It won't add or remove any of the existing lists. >>> >>> Can anyone confirm? OR give me a hint where to look at? >>> >>> Thanks in advance >>> Matthias >>> >>> >> >> > <Deleted: excerpt-from DNS log.txt><Deleted: knot-resolver-6.4.1-for-ipfire-Core203.tar.gz> ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-24 15:44 ` Michael Tremer @ 2026-07-24 18:34 ` Matthias Fischer 2026-07-25 16:38 ` Matthias Fischer 0 siblings, 1 reply; 8+ messages in thread From: Matthias Fischer @ 2026-07-24 18:34 UTC (permalink / raw) To: Michael Tremer; +Cc: IPFire: Development-List On 24.07.2026 17:44, Michael Tremer wrote: > Hello Matthias, Hi Michael, > You seem to have two problems why Knot Resolver did not come up. > > The first one is this: > > 08:56:53 supervisord: captured stdio output from kresd1[20077] (stderr): [system] config 'kresd1.conf' (workdir '/run/knot-resolver'): No such file or directory > > The directory will be created in the updater and at boot time, so I suppose something went wrong here. Potentially a reboot would have fixed it. Yep. This directory was definitely missing. Two reboots didn't help, these directory showed up after I reinstalled the core update per hand. Together with a few others... > The second one is this: > > 08:56:49 kresd[20066]: [net ] bind to '0.0.0.0@53' (UDP): Permission denied > 08:56:49 kresd[20066]: [system] error while loading config: error occurred here (config filename:lineno is at the bottom, if config is involved): stack traceback: [C]: in function 'listen' kresd0.conf:123: in main chunk ERROR: net.listen() failed to bind (workdir '/run/knot-resolver’) > > Knot Resolver does not run as root and is therefore not allowed to bind to any of the privileged ports < 1024 to which 53 belongs. We solve this by giving the binary special capabilities which might have been lost when you extracted the tarball. Which capabilities are these? I looked through the update script but didn't find anything special which could give me a hint. Right now it looks like this: ... root@ipfire: /usr/bin # ls knot-resolver -ls 4 -rwxr-xr-x 1 root root 988 Jul 20 14:54 knot-resolver ... > So I don’t think that this is general bug in Knot Resolver or IPFire, but just a slightly botched development system maybe?! Äääh!...how could it be!? This was the first time this procadure failed... ;-) But yes - I thought the same. No bug, just borked. Thanks for any hints! :-) Best Matthias > > -Michael > >> On 23 Jul 2026, at 22:17, Matthias Fischer <matthias.fischer@ipfire.org> wrote: >> >> (2nd try - this didn't show up on the public inbox, so I removed the >> attachments) >> >> ########## >> >> On 23.07.2026 11:05, Michael Tremer wrote: >>> Hello Matthias, >> >> Hi Michael, >> >> sorry, this is a bit longer. ;-) >> >>> What happens when you run "update-rpzs”? >> >> Cursor went one line down...waited...and showed normal bash prompt >> again. No errors. >> >> But something weird happened before - I had some problems, found a >> solution, but don't know what the solution was... ;-) >> >> Steps to reproduce (perhaps?): >> - I built an update for 'knot-resolver v6.4.1' under Core 203 - this was >> built without any problem, I only had to deactivate the existing patch >> file. Hm. >> >> - I stripped the files by hand and built an archive with the command:tar >> cvfz ../uploads/knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C >> build_x86_64 --files-from=config/rootfiles/common/knot-resolver >> >> I'm doing this procedure all the time with all updated programs so I can >> install and test them on my testmachine or my productive machine, >> whatever comes first. >> >> - In the next step I copied this resolver-archive to the root directory >> of my productive machine (sigh!), stopped the running 'knot-resolver' >> (at least I think this stops him) with '/etc/init.d/knot-resolver stop' >> and extracted the archive with the command: >> tar xvf knot-resolver-6.4.1-for-ipfire-Core203.tar.gz -C / >> >> E.g., I did this the same way before I pushed the last 'knot >> 3.5.6'-update. No problem. Until the update for 'knot-resolver 6.4.1'. >> >> Result: >> - Restarting the 'knot-resolver 6.4.1' failed, DNS was completely broken. >> And the 'Domain Name Sstem'-Log was filled with 'kresd' and >> 'knot_resolver.manager.server:' errors ("kresd[20064]: [system] error >> while loading config: error occurred here" or "Uncaught generic >> exception during manager inicialization"). >> >> Hm! >> >> Since I had backups of all essential files of the previous version >> (6.4.0), I copied them back - with the same result. DNS stayed broken, >> no matter what I did. Old version, new version, nothing started, always >> the same crashes. I checked rights, I checked contents, rebooted, no >> chance. I don't know if I missed something - nothing worked. >> >> Then today I copied a fresh built 'core-upgrade-2.29-203.ipfire' to >> '/opt/pakfire/tmp' and updated the whole system just like I did a few >> days ago through pakfire, only this time from console per './update.sh' >> and rebooted. >> >> Suddenly DNS was running - and I could add the "Gambling" list (e.g.) to >> DNS-Firewall - it was downloaded and seems to work. >> >> So now DNS is working (again) but I don't know why it was broken and I >> don't know what fixed it in the end... weird. >> >> EDIT: >> If it helps I could open a bug report, explain the process and attach an >> excerpt of the dns log. ;-) >> >> I don't like to push this update until I know what happened... ;-) >> >> Best >> Matthias >> >>> -Michael >>> >>>> On 22 Jul 2026, at 14:02, Matthias Fischer <matthias.fischer@ipfire.org> wrote: >>>> >>>> Hi, >>>> >>>> I have one problem with Core 203 and I'm not sure whats the culprit: >>>> >>>> No matter what I do, Core 203 won't download additional zone files. >>>> >>>> After rebooting I found the already used and activated blocklists (from >>>> Core 202) in the '/var/lib//knot-resolver/zones' dirextory. They're >>>> working - no seen problem. But even if I activate them all on the DNSBL >>>> page, nothing gets downloaded, the selection and number of block lists >>>> always remain the same. It won't add or remove any of the existing lists. >>>> >>>> Can anyone confirm? OR give me a hint where to look at? >>>> >>>> Thanks in advance >>>> Matthias >>>> >>>> >>> >>> >> <Deleted: excerpt-from DNS log.txt><Deleted: knot-resolver-6.4.1-for-ipfire-Core203.tar.gz> > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Core 203 - DNS firewall doesn't update (?) or add (!) - zone files 2026-07-24 18:34 ` Matthias Fischer @ 2026-07-25 16:38 ` Matthias Fischer 0 siblings, 0 replies; 8+ messages in thread From: Matthias Fischer @ 2026-07-25 16:38 UTC (permalink / raw) To: Michael Tremer; +Cc: IPFire: Development-List Hi Michael, On 24.07.2026 20:34, Matthias Fischer wrote: > ... > We solve this by giving the binary special capabilities... Thanks. This helped! v6.4.1 is up and running. Best Matthias ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-07-25 16:38 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2026-07-22 13:02 Core 203 - DNS firewall doesn't update (?) or add (!) - zone files Matthias Fischer 2026-07-22 13:28 ` Mentalic 2026-07-23 9:06 ` Michael Tremer 2026-07-23 9:05 ` Michael Tremer 2026-07-23 21:17 ` Matthias Fischer 2026-07-24 15:44 ` Michael Tremer 2026-07-24 18:34 ` Matthias Fischer 2026-07-25 16:38 ` Matthias Fischer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox