• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

MX problem when using an A-record

MarchelV

New Pleskian
Hello everyone.

I have a strange problem which I cannot solve.

On one of my domains (server is running Plesk/Odin 12 and Ubuntu server edition) I need to use an A-record to show a specific website.
To be sure the mail would still work I changed the MX record to the IP address of the server.

After waiting for at least 24 hours I did a nslookup on the domain which points towards the A-record.
Doing a nslookup on the mailserver I expected to see the IP address of the MX record... but no, I get the same as the A-record.

Could anyone please help me with this problem? Probably it's something easy which I missed.
 
Hi,

it would be easier if you told us which domain this is about so we could check.
However as far as I remember it is not valid to set an IP for an MX-Record.
You should create a Subdomain/A-Record as like mail.domain.tld or mx01.domain.tld and enter that as an MX-Record.

Regards,
Kristian
 
Hello,

The domain is 'urconnected.nl' which is hosted on a Strato server with IP address 85.214.36.229.

I created an A-record with value '93.186.183.118' which is the address of the website.
As MX records I created 'h2429295.stratoserver.net' which is the servername and as second MX record '85.214.36.229'.

I created these settings in the config site of Strato, they told me this was preffered above the settings in Plesk/Odin (no idea why)
 
Hi,

well at this moment you have the following setup:
Code:
$ host urconnected.nl
urconnected.nl has address 93.186.183.118
urconnected.nl mail is handled by 20 85.214.36.229.urconnected.nl.
urconnected.nl mail is handled by 10 h2429295.stratoserver.net.

Now as both MX Records point to the same server, that does not really make any sense.
Just delete your "Backup-MX" entry and everything should be fine.

DNS Settings in Plesk are not valid for your domain, as Strato has setup your Domain to use their DNS/Nameservers.
You can change that somewhere within their Interface, but I would not suggest you to do so, as it is recommended to
always have at least 2 DNS/Nameservers. You only have one though :)

Regards,
Kristian
 
Hello KristianM,

Just to be sure, I delete the first (85.214.36.229.urconnected.nl) MX record?
Assuming this is the backup MX record.

Thanks in advance for your advice!
 
Hello again,

I removed th second MX record as you explained but still I cannot login to the mail.
If I send an email to a urconnected.nl mail address it seems to work, it isn't returned as unknown that is.

Is thwre anything else I could do/change so the email works?

Thanks in advance!
 
Hello all!

It seems the problem is solved!

I created a subdomain called 'mail'.urconnected.nl and gave that domain the A-record of the Strato server (85.214.36.229) and removed all MX records created earlier.
Now the website is redirected by the A-record of the url and the mail is redirected to mail.urconnected.nl which has it's own A-record.

Thanks everyone and especially Sjef Huijbregts, Strato Customer Care employee!
 
Back
Top