False alarms about incorrect reverse DNS

Every couple of days, my box alternates between:
:heavy_multiplication_x: Your box’s reverse DNS is currently [Not Set], but it should be mail.acedb.co. Your ISP or cloud provider will have instructions on setting up reverse DNS for your box.
and:
✓ Reverse DNS is set correctly at ISP. [146.229.97.10 ↦ mail.acedb.co]

Every time I check it, the reverse DNS is working fine. The owner of my IPs is not making any changes. Any ideas what could be causing this? I have NOT altered the address or host name in case anyone would like to look at how my DNS is set up.

Might find some help from one of these previous reports:

Seems to be a common occurence for Digital Ocean installs.

1 Like

I have run several different installs of MiaB … and have gotten the same warnings.

Over time, I just simply learned to ignore them.

2 Likes

I ran into the system check warning about my reverse dns on VULTR hosting being wrong about a week after everything was perfect on initial setup. I added the instance IP on the rDNS field x.x.x.x.box.domain.com and then saw my mail deliverability score drop due to IP mismatch to PTR with the IP. VULTR saw no issue in a ticket I sent them so I put the VULTR rDNS field back to box.domain.com (domain=my actual domain) and tested again using mail-tester.com and got back up to 10/10 good deliverability.

The rDNS requirement is just to have one. I have webserver that sends transactional email for ~12 domains. Never have anything declared as spam from that server despite the fact that the rDNS doesn’t doesn’t match.

That said, not having the record is almost guaranteed to result in spam.

1 Like

I saw this issue corrected later today and advised VULTR in case they knew of something that had changed. While testing earlier with them their test of

dig -x x.x.x.x @1.1.1.1 (x.x.x.x = my instance IP) resulted in a Answer record for PTR while mine didn’t.

They reply to my update saying they had been made aware of an issue with their DNS earlier today (I assume me) and corrected it. So I guess it’s worth contacting the host (as the MaiB message advises) just in case there’s something a miss on their end. Just wanted to update this topic for other to see this outcome.

I have the same issue with Strato.
Now and then I get that message. Most of the time for IPv6.

Not really a problem so far. Maybe the check mechanism should do a retry once or twice?

@JoshData

I have happen to notice this “false alarm” on my test MIAB that is running on home VDSL2 connection
[Running from home]

so the rDNS can not be VPS related …

Dear all,

I’ve been investigating this error and I think that I found the reason for this. It would be nice if you could try out the following (just once, don’t do it more than once!):

  1. Sign in via SSH to your box
  2. Run the following command
    sed -i "s/^}/\n\tmax-recursion-queries 100;\n}/" /etc/bind/named.conf.options
  3. Run
    service bind9 restart

Then have a close look whether the status keeps changing or if it stays stable.
I would appreciate feedback.

Hi,

I’ve mentioned in another thread that, I made the change hija suggested, e.g. added “max-recursion-queries 100;” to /etc/bind/named.conf.options and restarted bind on 2020-12-08 04:45.

Quick googling suggested that this might be the explanation Recursive Client Rate limiting in BIND 9.9.8, 9.10.3 and 9.11.0 why rDNS fails occasionally.

1 Like

Hey @ge8Hooe any updates? How is it going so far?

Hi,

So far so good.

My latest “Not Set” was sent on 2020-12-08, the patch was made on the same day. Next day I got the “set” in that days Status Checks Change Notice email. All five of status checks after this fix was installed, have been successful e.g. I haven’t received any “Not Set” notifications after I added “max-recursion-queries 100;” to /etc/bind/named.conf.options.

indeed… use a DIG tool is less trouble than those statusChecks in MIAB.

If people have to use external systems because our internal status checks we need to work on the status checks. :slight_smile: That’s why I did the PR – I want MIAB to have good internal status checks rather than forcing users to use external tools.

From my side the bug is gone since more than 2 weeks now, how is it going for you @ge8Hooe?

I haven’t had single “reverse DNS is currently [Not Set]” notification since I applied the patch.

The default value of max-recursion-queries is 50, and I suspect that in my case the default value was almost enough, because I’d get somewhat regularly “Not Set” and “Set” notifications, some times there could be a few days apart, but lately I got “Not Set” notification every other day, and the next day I’d get the “Set” notification.

If that fix does not get applied to the MIAB source, I’ll have to keep a separate patch for it myself.

@hija & @ge8Hooe

I have not been following this discussion too closely - however it appears that you’ve come up with a potential solution to an old problem.

Have you posted this on the projects GitHub page?

Yup. I proposed a solution on Github and Josh asked me if there are others who can test the solution and this is why i posted the fix here. @ge8Hooe tried the fix out as well and so we have two people who are happy with the fix and don’t experience any side effects. I will notify Josh soon that I think the fix is ready to be merged :slightly_smiling_face:

2 Likes