• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved MX record google workspace by command line

Rendor9

New Pleskian
Hi. I need to add in a specific domain a MX dns priority 1 record. This cannot be achieved by the plesk web interface on onyx and obviously for a single record I will not migrate to obsidian. So I want to try with the "plesk bin server" command. What would be the exact command to do this on a domain? The record is for google workspace ASPMX.L.GOOGLE.COM, it must be priority 1.

Example:
plesk bin server_dns --set "MX,"",mail.<domain>,15;NS,"",ns.<domain>"

Would it be like this? what needs to be corrected?, is this ok to run??

plesk bin server_dns --set "MX,"",ASPMX.L.GOOGLE.COM,1;NS,"",ns.mydomain.com"

thanks!
 
this work for me:

plesk bin dns --add mysite.com -mx '' -mailexchanger ASPMX.L.GOOGLE.COM -priority 1
 
Back
Top