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.

Multiple name servers on one ip?

Discussion in 'General Discussion' started by amelen, Jan 21, 2010.

  1. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Is it possible to have for example, ns1.mydomain.com and ns1.myotherdomain.com both be on the same ip? We want to allow resellers to have private name servers without wasting tons of ip's. Any advice on how to do this?
     
  2. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hello,

    You don't have to waste tons of IPs, There is a simple way.

    Your server is working on two nameservers and IPs, Right ?
    Give the resellers their first nameserver "ns1.example.com" your first IP, And their second nameserver "ns2.example.com" your second IP. That can be made from Add a DNS Zone from WHM. Done ;)
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Yes, you can assign same IPs to your reseller name servers as well. It won't create any problems.
     
  4. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    How would that be possible since /etc/nameserverips only allows one entry per IP Address?

     
  5. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    /etc/nameserverips having one entry per IP address won't cause any problems even if you ask your resellers to use your name server IPs for their name servers.
     
  6. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    So if I have ns1.hostseo.org on a specific ip (so in /etc/nameserverips I have 123.123.123.123=ns1.hostseo.org). And then I want a reseller to have ns1.theirdomain.com also on 123.123.123.123, I wouldn't even add that to /etc/nameserverips?
     
  7. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    No, You can just add it by Add a DNS Zone from WHM, No need to add it to /etc/nameserverips
     
  8. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    So in WHM, I would just go to add a dns zone and just add ns1.theirdomain.com to ip: 123.123.123.123? Is there anything else that I would need to do?
     
  9. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    No, Just that ;)
     
  10. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Did that but the reseller is having problems assigning name servers in godaddy.. it keeps giving an error. Would I need to create a DNS record for the domain too or just the ns1.domain.com?
     
  11. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    He must register the nameservers first in his domain control panel with your IPs then give it to his customers.
     
  12. amelen

    amelen Active Member

    Joined:
    Sep 15, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    I assumed he knows as much.. but what the heck.. I'll double check with him. Thanks again for the help!
     
Loading...

Share This Page