DNS Zone - The MX records that do not seem valid hostname

epsilon4

Verified User
Joined
Jul 6, 2019
Messages
25
Hello,

I have installed a fresh DirectAdmin, I configured nameservers, PTR record, and later, I added a domain (for testing).

The problem is, when I visit intodns.com, I got this error message: The MX records that do not seem valid hostname: This can cause problems.

I can send and receive emails with no problem, but I would like to know why that message appears.

My DNS zone is:

domain.com A 1.1.1.1
mail A 1.1.1.1
MX 0 domain.com mail

And I have set the PTR record from domain.com to 1.1.1.1.

Any idea?

Thanks a lot in advance!
 
Your host name of the server should be something like server.yourdomain.com, not just your domain, that will cause issues. And have the reverse DNS record to go to it.
 
MX 0 domain.com mail
That should look like:
domain.com.3600 MX 10 mail
In Directadmin. Mind the trailing dot here.

Don't use a PTR record in Directadmin, but with your datacenter control panel or wherever you got the server/vps and the ip from.

And ofcourse what @cjd already said.
If you not already created your own hostname, create one, don't use the one DA provided by default with their name in it.
 
Also it takes some time for changes ip's in that systems on the web.

If server (mailserver, hostname) has other ip then domain you should check to if there everything is ok, we use server, hostname ip fo mx records , you can use more there dont know how failover and so on

But spf record you have to take care to
 
Hello again,

And thanks for your answers.

Yes, I have a hostname enabled and the PTR configured at my VPS provider, and I added the IPs to nameservers (in my domain provider also in CloudFlare).

The only problem was that error message, but as I said befeore I can receive messages normally, so I tried another MX checker (mxtoolbox.com), and that report shows all ok, so I think is a little bug with intodns.com.

Even doing: dig -t MX mail.domain.com

I got this:

Code:
; <<>> DiG 9.16.23-RH <<>> -t MX mail.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32938
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mail.domain.com.                        IN      MX

;; AUTHORITY SECTION:
domain.com.              3600    IN      SOA     ns2.servername.com. hostmaster.domain.com. 2023052206 3600 3600 1209600 86400

;; Query time: 28 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue May 23 12:47:32 CST 2023
;; MSG SIZE  rcvd: 110

Also I have no problem by sending e-mails, I configured SPF with Mailchannels and I enabled DKIM support by default.

Thanks again.
 
Back
Top