Spamhaus false errors

Seems every couple of days (it alternates back and forth) the daily status check email indicates
:heavy_multiplication_x: This domain is listed in the Spamhaus Domain Block List (code 127.255.255.254), which may prevent recipients from receiving your mail. See http://www.spamhaus.org/dbl/ and http://www.spamhaus.org/query/domain/box.xxx.xxx

My question is, since I changed the main.cf to use the proper spamhaus key when inquiring, does the status check that runs daily use the same main.cf settings for the daily status inquiry? or does it use it’s own script?
Am I making any sense here? It seems like it fails every other day on the status check, but (full disclosure: I may or may not have been drinking when I’ve noticed). If this is a normal thing, then I apologize…

I’m facing the same too. There is this article Help for Spamhaus Public Mirror Users - Spamhaus Technology that mentions moving to their free DQS. But I understand practically nothing of the article.

As explained by spamhaus error codes like 127.255.255.254 do not mean the domain is part of the Spamhaus block list. That means it’s a false positive that indeed may return every other day. It is usually caused by not using the DNS resolver that is built-in in the box, but using an external DNS server like the one provided by your internet/vps provider.

I take it that with the main.cf to use the proper spamhaus key you mean you have configured DQS for postfix, as explained here? That would mean that postfix does the right thing and is not hurt by the 127.255.255.254 code.
The status check code does not take into account these spamhaus return codes. I’ve created a pull request to introduce that into Mail-in-a-Box.