TorbHo
Regular Pleskian
- Server operating system version
- Ubuntu 24
- Plesk version and microupdate number
- 18.0.71 Update 2
I would like to update the MX record for all domains on my Plesk server so that they all point to the same new mail server. Ideally, I’d like to do this in one go via the Plesk CLI (e.g. using plesk bin dns) instead of editing each domain individually.
From what I’ve read so far, it doesn’t seem possible to replace an existing MX record directly — it looks like you first need to remove the old one and then add the new MX record. Is that correct?
Has anyone already done this or maybe has a sample script to automate it?
From what I’ve read so far, it doesn’t seem possible to replace an existing MX record directly — it looks like you first need to remove the old one and then add the new MX record. Is that correct?
Has anyone already done this or maybe has a sample script to automate it?