Change Hostmaster email address?

iddqd_x

Member
Feb 6, 2015
8
1
3
cPanel Access Level
Root Administrator
Hello,

We have WHM server and 2 DNSOnly servers. NS configured under "Home » Clusters » DNS Cluster".

Zone example from DNSOnly server

Code:
# cat /var/named/domain.com.db
; cPanel first:11.66.0.26 (update_time):1509274493 11.66.0.17: Cpanel::ZoneFile::VERSION:1.3 hostname:srv1.foobar.com latest:11.66.0.17
; Zone file for domain.com
$TTL 14400
@      86400    IN      SOA     ns1.foobar.com. [email protected] (
We have two questions.

1. How we can change current hostmaster address [email protected] to another one?
2. As changind address won't affect existing data (I suppose so) how can we change hostmaster email for existed named/bind zone files?

Documentation (Edit Zone Templates - Documentation - cPanel Documentation) says we need to edit %rpemail% variable under "Home » DNS Functions » Edit Zone Templates". So can we just put new email address instead of %rpemail% ?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello,

Yes, you can edit that entry in the zone templates so it uses a specific email address instead of the "%rpemail%" value. As for existing DNS zones, you'd need to edit them on the hosting server using a command line the one referenced on the following thread:

Bulk DNS Zone Update

Thank you.