Skip to main content

In what directory are custom DNS Zone Templates stored?

Comments

12 comments

  • cPRex Jurassic Moderator
    Hey there! The DNS Zone templates are located in /var/cpanel/zonetemplates. If you have templates setup under a reseller you'll find those in the same directory, but with a "username_" prefix.
    0
  • DeviC3
    Hi, I know that is old post but I have question about this default templates. I have default setting and I want to turn off useful records for new users. cpcalendars.subdomain.example.com cpanel.subdomain.example.com cpcontacts.subdomain.example.com whm.subdomain.example.com webdisk.subdomain.example.com webmail.subdomain.example.com
    0
  • cPRex Jurassic Moderator
    @DeviC3 - once you use the WHM >> Edit Zone Templates area, the files get created in /var/cpanel/zonetemplates. However, the records you have specified are added by the WHM >> Tweak Settings >> Service Subdomains tool, so if you wanted to remove or add those, you would toggle that option on the system.
    0
  • vatra
    [QUOTE]simple - Domains with an A entry only standard - Domains on a dedicated IP address, parked domains, and addon domains standardvirtualftp - Domains on a shared IP address
    What is the difference between standard and standardvirtualftp. The standard does FTP as CNAME and the standardvirtualftp as A record. Why is that?
    0
  • cPRex Jurassic Moderator
    The main difference in the templates themselves is really just to have the option available for those dedicated users if you want/need to give them something custom. As far as the CNAME vs A, I can't see a reason why it would matter and we don't have any details internally on why they are different. When we eventually drop FTP someday it will matter even less.
    0
  • vatra
    Got it! Although there is a line in the standard template that doesn't make sense: %domain%. IN A %ip% %domain%. IN AAAA %ipv6% ipv6 IN AAAA %ipv6% <= this one
    0
  • quietFinn
    ipv6 IN AAAA %ipv6% is the same as: ipv6.%domain%. IN AAAA %ipv6%
    0
  • vatra
    Then what is the difference between: %domain%. IN AAAA %ipv6% and ipv6.%domain%. IN AAAA %ipv6%
    0
  • quietFinn
    If you have domain YourDomain.com and IPv6 address IPv6ADDRESS then you will have records_ YourDomain.com, IN AAAA IPv6ADDRESS and ipv6.YourDomain.com. IN AAAA IPv6ADDRESS
    0
  • vatra
    I understand, but what is the point of having both, what's the latter one for?
    0
  • cPRex Jurassic Moderator
    It's a test domain, more or less. Apparently there are tools that use the ipv6 subdomain to verify that IPv6 is working on your account. The notes from our developers when we implemented this feature in version 78 say "The ipv6 subdomain was added as a simple reliable method of verifying ipv6 is working for the domain"
    0
  • vatra
    Thank you. Only the standard template has it.
    0

Please sign in to leave a comment.