• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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