Everytime someone creates a user account it gives out my nameservers rather then cleints. How can i change this so whenever a client creates an account his nameservers are shown rather then mine?
Last edited:
Everytime i do this it gives me an error i try to change the domain name to my own. What changes do i need to make here exactly in these templates?cpanelinfoseeker said:Have your reseller choose "Edit Zone Templates " and change the templates to THEIR nameservers. Any account that he creates will have his nameservers installed.
Ron
Change it to this:; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ IN SOA %nameserver%. admin.mydomain.com. (
%serial% ; serial, todays date+todays
14400 ; refresh, seconds
3600 ; retry, seconds
1209600 ; expire, seconds
7200 ) ; minimum, seconds
%domain%. IN NS %nameserver%.
%domain%. IN NS %nameserver2%.
%domain%. IN NS %nameserver3%.
%domain%. IN NS %nameserver4%.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 mail.%domain%.
mail IN A 111.222.111.222
www IN CNAME %domain%.
ftp IN CNAME %domain%.
Your template may be somewhat different, but look at the 5 lines with "theirdomain.com" in it for the 5 changes required. You may have as few as 2 actual nameservers, if so just don't add the 3 & 4 in your template.; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ IN SOA ns1.theirdomain.com. admin.whateverdomain.com. (
%serial% ; serial, todays date+todays
14400 ; refresh, seconds
3600 ; retry, seconds
1209600 ; expire, seconds
7200 ) ; minimum, seconds
%domain%. IN NS ns1.theirdomain.com.
%domain%. IN NS ns2.theirdomain.com.
%domain%. IN NS ns3.theirdomain.com.
%domain%. IN NS ns4.theirdomain.com.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 mail.%domain%.
mail IN A 111.222.111.222
www IN CNAME %domain%.
ftp IN CNAME %domain%.
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
Go into whm > Reseller Center > edit privelates/name serverspunjabipredator said:I have already given private nameservers but we share one IP address. Is it possible to have clients namservers being displayed rather then mine when someone is creating an account
I am confused. If i add nameservers in there my nameservers get messed up. When i go to Networking Setup > Nameservers IP the namservers change.jayh38 said:Go into whm > Reseller Center > edit privelates/name servers
Adjust your resellers settings in there as well and you will not have to
edit the zone templates.
In the reseller setup you do not add the IP, just the name. Make sure under Tweak Settings you allow sharing nameserver Ip'spunjabipredator said:I am confused. If i add nameservers in there my nameservers get messed up. When i go to Networking Setup > Nameservers IP the namservers change.