Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change Hostmaster email address?

Discussion in 'General Discussion' started by iddqd_x, Nov 29, 2017.

Tags:
  1. iddqd_x

    iddqd_x Registered

    Joined:
    Feb 6, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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. john@default.com. (
    We have two questions.

    1. How we can change current hostmaster address john@default.com 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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,455
    Likes Received:
    1,608
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page