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.

Shared IP for a number of ns addresses.

Discussion in 'General Discussion' started by Turkoloco, Oct 7, 2006.

  1. Turkoloco

    Turkoloco Registered

    Joined:
    Oct 5, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi there, im new to Cpanel and WHM, and I have small question to ask.

    Here's my problem, i want to give my reseller customers their own nameserver, without giving them a seperate IP. So basicly I want the IP to be shared by a number of ns addresses.

    Here's an example of what I want to do.
    Say i have 5 resellers.

    Each having a separate NS.
    E.g.
    • ns1.reseller1.com
    • ns2.reseller1.com

    • ns1.reseller2.com
    • ns2.reseller2.com

    • ns1.reseller3.com
    • ns2.reseller3.com

    • ns1.reseller4.com
    • ns2.reseller4.com
    • ns1.reseller5.com
    • ns2.reseller5.com

    But what I want to do is have the same two ips
    1.0.0.1
    1.0.0.2 for example, and let all 5 use this IP.

    Can anyone tell me if this would be possible, and if it is possible please explain how I can acheive this. Thanks
     
  2. levelsupport

    levelsupport Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Say you have your main namservers are
    ns1.xyz.com with ip 1.1.1.1
    ns2.xyz.com with ip 1.1.1.2


    now to give the same ips for your reseller nameservers.
    Supposing your reseller domain name is abc.com

    In WHM
    open DNS Functions > Edit DNS Zone
    Edit DNS Zone of abc.com
    Add the following records
    ns1 86400 A 1.1.1.1
    ns2 86400 A 1.1.1.2

    and click save

    here
    A represents Record Type &
    86400 represents TTL
     
  3. levelsupport

    levelsupport Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    he is setting it up for his resellers and hence A records are more than enough + setting up the nameservers with registrar of domains

    /etc/nameserverips are for main nameserver ip's

    Also please make sure you have this option ticked under WHM >> Tweak Settings
    Allow Sharing Nameserver Ips
     
  4. designeru

    designeru Well-Known Member

    Joined:
    Nov 2, 2005
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    basically...

    My idea is:
    - ns1.domain1.com - 1.0.0.1
    - ns2.domain1.com - 1.0.0.2

    - ns1.domain2.com - 1.0.0.1
    - ns2.domain2.com - 1.0.0.2

    These are just A records (ns1.domain1.com -> 1.0.0.1)... so you can add those to /etc/nameserverips as the ones you already have there. Don't forget the step at your registrar/WHM setup.
     
  5. Turkoloco

    Turkoloco Registered

    Joined:
    Oct 5, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much, ill be trying it now, ill report back to tell you if it has worked out
     
Loading...

Share This Page