Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Private Name Servers setup

Discussion in 'Bind/DNS/Nameserver' started by Costas Lazarou, Jun 21, 2018.

Tags:
  1. Costas Lazarou

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Hello.
    I just bought a new VPS server.
    Hosting provider gave me 3 default nameservers with 3 different ips:
    ns1.defaultnameserver.com 100.100.100.1
    ns2.defaultnameserver.com 100.100.100.2
    ns3.defaultnameserver.com 100.100.100.3

    VPS ip is 200.200.200.1

    If I setup private nameservers which ip I will assign to them?
    ex ns1.mynameserver.com
    ns2.mynameserver.com
    ns3.mynameserver.com

    Thanks in advance
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Doesn't matter, and you don't necessarily need to use all 3 IP's for nameservers.

    You can still host sites on the IP's you are using as nameservers so if you did like

    100.100.100.1 - server.mynameserver.com ( main shared IP )
    100.100.100.2 - ns1.mynameserver.com
    100.100.100.3 - ns2.mynameserver.com

    In the DNS zone for mynameserver.com you would create an A Record for each host listed above.

    Then you would need to register the nameservers only at your registrar. Once they are registered, and the DNS zone has been setup on the cPanel server, you can then safely use those nameservers.

    Again, you can still use 100.100.100.2,3 as dedicated and/or reseller shared IP's if/when needed regardless if they are used as your nameservers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Costas Lazarou

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Thanks a lot for the answers!!!
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice