A Beginner's Guide to Name Servers Part-2 (Custom Nameservers for Resellers)

000000000

Member
Sep 5, 2004
18
1
153
Setting up Custom/Private Nameservers for your Resellers


This was the hardest topic to find clear and useful information on. I never did find any... but after taking a chance and experimenting with one of my dedis, it became clear.



Goto Server Setup =>> Tweak Settings

Scroll down to System and check Allow Sharing Nameserver Ips



When you setup a new reseller account...


Goto Account Functions =>> Create a New Account

Create new reseller account. Put a check in the Reseller box and Owner (only if reseller) box.


Goto Resellers =>> Reseller Center

Select the reseller and click on Edit Privileges/Nameservers.

Set account creation and feature limits

At the bottom enter resellers nameservers (ns1.reseller.com, ns2.reseller.com).


IMPORTANT

If you wish to assign private IPs click on Assign Ip Address, and then Add an A entry for this nameserver.

If you want the name server to use shared IP addresses do not assign an IP address.

Save your changes.


Goto DNS Functions =>> Edit a DNS Zone

Select reseller

Enter A entries for the nameservers along with their corrosponding IP addresses

Code:
	ns1     14440     IN  A     123.123.123.12
	ns2     14440     IN  A     123.123.123.13
Save your changes.


Your reseller's will have to create their nameservers at their domain registry as well. If they use Managed DNS, they will also have to add A records for the nameservers to their domain.
 

TAK

Well-Known Member
Dec 10, 2003
64
0
156
Yup. This is exactly how to do it. It also took me a while to figure it out a while back as there are many different conflicting things people are saying.
 

000000000

Member
Sep 5, 2004
18
1
153
TAK said:
Yup. This is exactly how to do it. It also took me a while to figure it out a while back as there are many different conflicting things people are saying.

TAK

You put your thumb right on it. And people are still giving the same conflicting information. It makes me wonder at what point the hosting industry became so cut-throat.

Thank you for your support.
 

BuffaloWeb

Well-Known Member
Jul 1, 2003
83
0
156
000000000 said:
If you wish to assign private IPs click on Assign Ip Address, and then Add an A entry for this nameserver.

If you want the name server to use shared IP addresses do not assign an IP address.

Save your changes.


Goto DNS Functions =>> Edit a DNS Zone

Select reseller

Enter A entries for the nameservers along with their corrosponding IP addresses

ns1 14440 IN A 123.123.123.12
ns2 14440 IN A 123.123.123.13
Question for you: What do you do if you want to assign 2 specific IP addresses as nameservers for a reseller? I know that if you click on "Assign Ip Address" it will assign the next 2 available IPs (not necessarily the ones you wanted). Do you just bypass the "Assign Ip Address" and do it manually via the "Edit a DNS Zone" process you mention?
 
S

Secret Agent

Guest
Same issue here...

I find that when creating a reseller account and then apply ns1/ns2 and their IP addresses, it uses IP's that are already used by another reseller account's nameservers and does not use instead the delegated IP addresses previously assigned to it. Can anyone else duplicate this? I have to login to ssh and manually add/modify them in /etc/nameserverips every time I want to assign specific IP addresses.

Hopefully cPanel will correct this. Its not convenient to have to exit the "control panel" to login ssh and do it manually. Defeats the purpose of the feature in the control panel, at least in a simple task of assign IP addresses.
 

tuwebhost

Member
Apr 29, 2007
5
0
151
How do I know what are the shared IPs?

Hi:

How do I know what are the shared IPs?

where in the WHM I can see what are the shared IPs?
thanks.:confused:
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi:

How do I know what are the shared IPs?

where in the WHM I can see what are the shared IPs?
thanks.:confused:
One tool that can help you determine which IPs are being shared would be WHM -> IP Functions -> Show IP Address Usage. This will list all the IPs on the system and how they are assigned via HTTP, Mail and FTP. If you see multiple domains under HTTP usage, it would be relatively safe to assume it's a shared IP address.
 

tuwebhost

Member
Apr 29, 2007
5
0
151
I think I know where are the share Ip and where to set them is in the Reseller Section, you select the reseller and then You select the option Manage Main Shared/Ipless Ip

thats it.

I hope this can help some one.

good tutorial in this Thread.