Python mode sync trouble
-
Hello everyone.
I have a question about python mode using pfblockerng in the DNSBL
I am having an issue with it, this is the message I am getting:My DNSBL has a yellow icon... it says: DNSBL(python mode) is out of sync. Perform a Force reload to correct....
I did but, the yellow icon still there. I also restarted the firewall, that didn't help either.
Is there an specific way to get it back into sync...
Thanks for any help. -
This might do it :

The last towo steps : get a copy of the error messages.
Then delete the content - empty the file.Check also the py_error.log file.
Then, if needed, do a force reload.
If the issue comes back : resolve the issue first. Then empty the files again. -
@Gertjan ... Hello, thank you for your advice. I did tried all your suggestions. But it didn't fix the sync issue.
I went through the error.log file but it didn't find anything that will pin point the sync issue.
Yesterday i went through the pfblockerng.log and this 3 sections call my attention. i can't recognize what will be causing the issue or at least i can't understand it.....Masterfile/Deny folder uniq check
Deny folder/Masterfile uniq checkSync check (Pass=No IPs reported)
Assembling DNSBL database...... completed [ 12/18/25 20:02:18 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Additional mounts (DNSBL python):
No changes required.
Starting Unbound Resolver... completed [ 12/18/25 20:02:21 ]
Resolver cache restored
*** DNSBL update [ 1082733 ] [ 1082684 ] ... OUT OF SYNC ! *** [ 12/18/25 20:02:22 ]Database Sanity check [ PASSED ]
Masterfile/Deny folder uniq check
Deny folder/Masterfile uniq checkSync check (Pass=No IPs reported)
DO you see anything that will cause the problem ?
Again thank you for your help. -
It looks like multiple pfBlocker updates are running simultaneouly.
Assembling DNSBL databaseshould never followSync check. Those are two different 'jobs' running at the same time. -
@tinfoilmatt ... Hello... thanks for the comment.
is there anything i can do in order to solve that problem....
Hope it is something i can fix for the sync issue.... thanks again -
@jriofrio Adjust your CRON Settings (at
Firewall / pfBlocker / General / General Settings), and make sure no 'job' is already running when performing any 'force' reloads. -
@tinfoilmatt .. I did what you suggested.... the cron update was 00 and chose 15 min, the i run an update. Going thought the update output i saw this....
Saving DNSBL statistics... completed [ 12/19/25 11:35:18 ]
Assembling DNSBL database...... completed [ 12/19/25 11:35:20 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Additional mounts (DNSBL python):
No changes required.
Starting Unbound Resolver... completed [ 12/19/25 11:35:23 ]
Resolver cache restored
*** DNSBL update [ 1074034 ] [ 1073985 ] ... OUT OF SYNC ! *** [ 12/19/25 11:35:24 ]it is the only out of sync message .
-
@jriofrio You need to specify what kind of update you're running and establish (preferably via screenshot) that no other update is running nor scheduled to run at a conflicting time before doing so.
-
@tinfoilmatt ... Sorry for the lack of my reply.
After i change cron updates to 15 min, I went to updates Tab and l update all.
Check the output and saw what i shared.... I did made sure that no other updates were ruining.
this is the update screen shot, just the update i did was 20 min ago....
i hope this is what you meant, if not please let me know. I don't the whole output of the update cause is way to long....
-
@jriofrio Your screenshot shows that you have a force update actively running—with a CRON Event update scheduled to run <15 minutes from that point. Those updates are likely to collide.
You should set a longer CRON interval. And not perform any force updates until you're certain you have enough time before the next CRON Event.
-
@tinfoilmatt ... Ok, i changed it to 30 min. I will wait after those 30 min and the the output of the updates... thanks.
this is how it looks...

-
@jriofrio That's still a needlessly short interval. For reference I have mine set to run
Once a day, with most feeds updating only weekly. -
-
-
@tinfoilmatt ... I did all of the suggested... still the yellow icon is present.
One thing that call my attention is that the output of the update i posted before, the last line:
*** DNSBL update [ 1074034 ] [ 1073985 ] ... OUT OF SYNC ! *** [ 12/19/25 11:35:24 ]those two numbers are not the same, i think both numbers should be the same in order to be in sync. Now, how to solve that, have no idea.
-
@jriofrio Two things:
1.) Before proceeding with #2—if you hover over the yellow warning icon on the dashboard widget, a tooltip will display the actual warning being alerted to. That will confirm if you have more than one issue occurring.
2.) Given that multiple updates repeatedly collided with one another, you should follow the procedure identified under the
Keep Settingscheckbox. -
@tinfoilmatt ... At the beginning of this tread, i stated what the message from the yellow icon was and stil is.
it says: DNSBL(python mode) is out of sync. Perform a Force reload to correctAnyway, i have been trying to find the "Keep Settings checkbox." but no luck.
if you could point it out its location, i appreciated very much... thanks again. -
@jriofrio It's in your last screenshot. Instructions (i.e.,
Note: To clear all [ . . . ]), too. -
@tinfoilmatt ... Hello again.... Been a little busy lately.... Anyway the idea of loosing all the settings don't appeal at the moment.
I'm intrigued though of what is out of syncronization. Is it a list, a table, a database, a data file????
Does anyone knows what is it!!!.
Perhaps if I know what exactly is, I could synchronize it manually,... just wondering.
If I could understand it I might be able to come up with a way to fix it....
After a couple days, cron has reloaded a few times already (by itself, for the schedule) but th sync issues still persist....
I'm just trying to make sense of this aloud....
Good night.
