• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Change default mail in SOA Record

Kados21

New Pleskian
Hi all,

I would like to change the default mail (authorative contact) in SOA record. Currently, it is one defined in the Client section (http://kb.parallels.com/en/1229). When I create a new domain, I would like to have this : contact@<domain>. Is there somewhere I can simply do that ? Or where is the script which create the DNS records to directly modify it ?

Regards,
Kevin
 
Thanks for response, but I've already see this.

I want to change the default behaviour of Parralels, not change manually the email directly in the table. I project to have more than 1,000 websites and it will be boring to do this manually each time.

What do you suggest ?

Regards,
Kevin
 
You can try to use Event Manager for running special script after domain creation event. This script will update SOA record as you need.
 
OKay, thank you for your response. I've resolved my problem :

I've created a filed name "domain-dns-soa-handler.sh" with this content :
#!/bin/bash
query="UPDATE psa.dns_zone SET email='contact@$NEW_DOMAIN_NAME' WHERE name='$NEW_DOMAIN_NAME';"
/usr/bin/mysql -uLOGIN -pPASSWORD << eof
$query
eof
And I've configured a new event when the dns zone is updated to execute this script

Thank you for your time Igor.

Regards,
Kevin
 
Back
Top