Author Topic: dns issue  (Read 939 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
dns issue
« on: January 16, 2024, 09:55:00 PM »
So my client's registrar on their domain is GoDaddy. I changed the name servers to cloudflare. Copied over every Dns Zone from cwp but even after 2 days inbox emails aren't working. I'm starting the thread in DNS because it seems to be DNS related.

The domain is thelastashram.com
I can send mail perfectly fine but inbox doesn't receive and I get this error

Code: [Select]
The response was:
DNS Error: DNS type 'mx' lookup of thelastashram.com responded with code NOERROR DNS type 'aaaa' lookup of thelastashram. responded with code NXDOMAIN DNS type 'a' lookup of thelastashram. responded with code NXDOMAIN

https://www.nslookup.io/domains/thelastashram.com/dns-records/ shows the mx record is in place. what am I missing?

I really am disliking cwp. whm/cpanel was never this difficult to get email or anything setup.
« Last Edit: January 16, 2024, 09:59:14 PM by techtaxi »

Offline
*****
Re: dns issue
« Reply #1 on: January 17, 2024, 12:46:02 AM »
There are several DNS errors, including the IP for one of them is wrong.

The mail record domain name is invalid, and also missing an A record. Not sure why you have priority set to 1.

http://leafdns.com/index.cgi?testid=8853ADA5

Also www should be a CNAME, not the only A record.

Offline
*****
Re: dns issue
« Reply #2 on: January 18, 2024, 02:43:18 AM »
As you can see, at your domain registrar, the IP for one of the Cloudflare DNS is wrong.
It should be: 108.162.193.91


And the MX.
Where to start with that.
Domain name is Invalid. Missing .com, .net, etc.
IP is missing.
Priority is usually either 0 or 10. 10 being the most common.
Also is showing not PTR setup. Which is OK, usually this is set to the hostname, and not the mail server.

Offline
*
Re: dns issue
« Reply #3 on: January 18, 2024, 08:24:22 AM »

I have changed the mx record to 10 priority and added the tdl on the end of the domain. can't believe I forgot that.

Offline
*****
Re: dns issue
« Reply #4 on: January 18, 2024, 05:35:20 PM »
You can't proxy a mail server.
You will need to change your MX to mail.thelastashram.com, and then create a DNS Only A record mail.thelastashram.com 107.173.19.64

Same for the other aliases, they should be CNAME Records, not A records.

What is _dmark?
Are you trying to create a DMARC Record?

You can copy that and the DKIM from the CWP DNS server file.


Also see: https://www.alphagnu.com/topic/28-cwp-apache-restore-original-visitor-ips-with-mod_remoteip-when-using-cloudflare-proxy/#comment-30

But from that screenshot, it looks like you might need to hire a sysadminto help you.
It's all kinds of not setup correctly.