|
|||
|
Hello,
I go to Main >> DNS Functions >> Edit Zone Templates and add a TXT entry %domain%. IN TXT "v=spf1 a mx -all" but when I "Create a New Account" the DNS Zone created for that new domain don't show me the changes I made in the templates!! Where are the REAL templates used for Cpanel? I look in /var/cpanel/zonetemplates/ and find the simple, standard and standardvirtualftp templates with my changes but seems like cpanel don't use them. I have a WHM 10.8.0 cPanel 10.9.0-R37 Fedora i686 - WHM X v3.1.0 and I restarted the named service and cpanel service with no luck. Thanks in advance for your help. |
|
|||
|
Well, yes I want to add that SPF record in every new account DNS zone, and I hope to fix some email issues with servers which implement SPF validation like hotmail.com do. And I'll configure the email clients to use the correct SMTP server for sending emails and pass the SPF validation in the MTAs with SPF enabled.
Anyway I am confused with this template issue. Why don't show me my templates modification in the new DNS zone? Is Cpanel using other templates?
|
|
||||
|
This is the same problem I am facing. I customized my zonetemplates as well, but the New Accounts don't get created with these templates.
__________________
Ajay D'Souza |
|
|||
|
I have the same settings, changed entries at /var/cpanel/zonetemplates/ as per my liking on all of my servers and they seems to be working perfectly.
Are you people creating new acounts as root or you have made yourself a reseller for yourself, if so have you used Edit Zone Templates from within that reseller account's WHM? |
|
|||
|
I am creating new accounts as root, and I tried to edit zone files from WHM and from shell, as I mentioned but cPanel is totaly ignoring those changes. I think that those templates that we are changing are only used for addon domains, but I can't find nowhere tamplates that cPanel is using for new accounts, so weird...
@Vinsar Are you creating new accounts as a root or reseller? |
|
|||
|
I have checked it both ways and its working.
I have one of my own Brand under me as reseller so when an account is created form there it gets all the values populated properly. And when I create a new account as root again gets all the values populated properly. On my server there are only three files at /var/cpanel/zonetemplates/ and those are simple, standard & standardvirtualftp no subfolders etc. BTW I edited the files from shell only. |
|
|||
|
I am not sure, but maybe I started bind.
You can try it. |
|
|||
|
Quote:
THANK YOU! This is what I have been looking for for some time now
|
|
|||
|
Quote:
Are you creating hosted account as root or as reseller? Have you restarted bind? Changing template will not change the zone records of existing accounts, changes will be applied to new account creation. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|