The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Bind / DNS / Nameserver Issues' started by 000000000, Oct 2, 2004.

  1. 000000000

    000000000 Member

    Joined:
    Sep 5, 2004
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    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.
     
  2. TAK

    TAK Well-Known Member

    Joined:
    Dec 10, 2003
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  3. 000000000

    000000000 Member

    Joined:
    Sep 5, 2004
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3

    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.
     
  4. BuffaloWeb

    BuffaloWeb Well-Known Member

    Joined:
    Jul 1, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  5. Secret Agent

    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.
     
  6. tuwebhost

    tuwebhost Member

    Joined:
    Apr 29, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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:
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  8. tuwebhost

    tuwebhost Member

    Joined:
    Apr 29, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  9. tuwebhost

    tuwebhost Member

    Joined:
    Apr 29, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks cPanelDavidG for your good answer.

    thanks again.:)
     

Share This Page