You add or change the private nameservers on your dedicated hosting server; however, when you set an account up through WHM it does not show your private nameservers. To correct this, you will need to edit the wwwacct.conf file.
Follow these steps to do it:½=# vi /etc/wwwacct.conf
Add or edit following lines as per your requirement.
ns = ns1.domain.com
ns2 = ns2.domain.com
Save the file, then recreate the account in WHM; it should now show your private nameservers.
2) Follow these steps if a reseller client wants to use his private nameservers in WHM:
Go to whm >> Resellers >> Reseller Center
Select the appropriate reseller account from dropdown list.
Click on edit privileges / Nameservers
Scroll down to the bottom of the screen and enter the name of the reseller’s nameserver(s) in the blank field next to Primary nameserver and secondary nameserver as per below.
Primary nameserver = ns1.domain.com
Secondary nameserver = ns2.domain.com
Click on ‘save’.
Now, when the reseller creates accounts through WHM, his/her’s private nameservers should be used!