• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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