Skip to main content

[CPANEL-23579] Null MX record

Comments

4 comments

  • cPanelLauren
    Hello, Because of the DNS lookup that occurs when you modify the IP address associated with the MX record this won't function as you're intending. You can remove the MX record entry though. Thanks!
    0
  • ottdev
    I submitted this a couple of months ago on Feature Requests requesting that you support Null MX per RFC. My feature request was removed by an admin stating that this error message is actually unintended, that it is a BUG - it *IS* supposed to support null mx records. The feature request was removed and IIRC the private message to me referred me to a bug tracker. I can not find ANY trace whatsoever in the feature request site within my profile where to re-read this message so I can follow that bug progress. Please help ?! I had hoped it was done before now and we have to decide whether to wait or take our DNS elsewhere.
    0
  • sparek-3
    What happens if you edit the DNS zone file directly? Avoiding any cPanel specific editors for making this change.
    0
  • cPanelLauren
    Hi @ottdev As it turns out we do have a case opened for this CPANEL-23579. It appears this spawned due to the feature request. It looks like the workaround is to add it manually. Here's what the case notes for replication steps (posting in its entirety as i feel it's relevant) Replication Steps: 1) Check current status of the MX record and zone: # grep MX /var/named/domain.tld.db domain.tld. IN MX 0 domain.tld. # dig MX domain.tld +short @"$(hostname -i)" 0 domain.tld. # named-checkzone domain.tld /var/named/domain.tld.db zone domain.tld/IN: loaded serial 2018101600 OK
    2) Attempt to add a '.' for the rdata in WHM > Edit DNS Zone, see that it fails 3) Add it manually and verify that named see's it as valid: # sed -i -r '/MX/{s/ [^ ]+$/ ./}' /var/named/domain.tld.db # /scripts/rebuilddnsconfig # dig MX domain.tld +short @"$(hostname -i)" 0 . # named-checkzone domain.tld /var/named/domain.tld.db zone domain.tld/IN: loaded serial 2018101600 OK
    Step 3 here is also the workaround for this until the case is addressed. I'll also update this thread when there is more information on the case or its status has been changed. Thanks!
    0

Please sign in to leave a comment.