How to change SOA e-mail address for domain.
E-mail address for SOA record is being assigned in such a way that it uses the subscription owner's mail address in Plesk.
If a domain is created under admin user, it will have admin user's mail as e-mail address in SOA record. If a domain is created under a particular customer, SOA record will have this customer's e-mail address.
To find the SOA e-mail address of the domain (example.com in the example below) log in psa database and execute the following commands:
mysql> set @domain_name := 'example.com'; mysql> select name, email from dns_zone where name=@domain_name;
To update an e-mail:
Backup current psa database state.
Set new e-mail:
mysql> set @domain_name := 'example.com'; mysql> set @new_email := 'email@example.com'; mysql> update dns_zone set email=@new_email where name=@domain_name;
Update DNS zone:
# /usr/local/psa/admin/bin/dnsmng --update example.com
To check the e-mail use '
dig' utility. For example:
# dig SOA example.com @localhost | grep 'SOA' .... example.com. 3600 IN SOA ns.example.com. new.email.com. 1377304780 10800 3600 604800 10800
The contact e-mail is the second record in SOA resource record (note that the ' . ' sign is used instead of the ' @ ' sign in the e-mail name).
Alternatively, use '
# nslookup -q=soa example.com localhost | grep mail mail addr = new.email.com