Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Preventing cPanel from creating various zone records for addon domains



  • cPRex Jurassic Moderator

    Hey there!  I don't have a way to change this behavior for only addon domains, but you can control this in general on the system through WHM >> Tweak Settings by turning off the "Service subdomains" option.  That will only create the following records:

    # cat 
    ; cPanel first:120.0.5 (update_time):1715268295 Cpanel::ZoneFile::VERSION:1.3 latest:120.0.5
    ; Zone file for
    $TTL 14400    86400    IN    SOA    (
                            2024050901 ;Serial Number
                            3600 ;refresh
                            1800 ;retry
                            1209600 ;expire
                            86400    )    86400    IN    NS    86400    IN    NS    14400    IN    A    14400    IN    MX    0
    mail    14400    IN    CNAME
    www    14400    IN    CNAME
    ftp    14400    IN    A    14400    IN    TXT    "v=spf1 +a +mx +ip4: ~all"
    default._domainkey    14400    IN    TXT    "v=DKIM1\; k=rsa\; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw6AuwsOUTcavX4lQbr/1TzUNq+yGAtSJ/qxNIgDPLJN9UgGRaGy7z3E2FG+cJNMX/wPhA5e1fEtFfvTBKjK+smXGynnG+pG2Keob4hJVomA6RriDEhGgNwgM7AUmSDnZOzjewvYgfMFAidC8J5or/Wx43AwCFvQWSU62gNiEZnPFk1r9XRJ2nGTgTlJnEJqKk" "PF2QZZcZ27FIwq3SFailv+ZyUbnO1ODCgaTqaiZJ28dOPNuHtty4ac65tT1Y4M4jqX8182Qf5WE66ZPS1NcbTmZNwoT9bsgmXVmwzF9SVsZ6rD+MqJT7uu8AmikFeC/sbK6gWOyyWhS6Bs05VZjPQIDAQAB\;"
  • blade304

    Thanks cPRex! And how about records such as CNAME ftp, mail or TXT with "spf"?

  • cPRex Jurassic Moderator

    I don't have a way to stop those from happening - do you not plan to send mail from that domain ever?

    If not, you could consider editing the "standard" zone template as that applies to addon domains, and that would let you remove those records:

    Note that would also affect any new domains you create on dedicated IPs if that applies to your situation.


Please sign in to leave a comment.