stuck in creating nameserver. help!!!

Discussion in 'Site & Server Administration' started by olddocks, Jan 13, 2008.

  1. #1
    i just got a dedicated server w/ cpanel with 4ips and i have used those like below...

    Hostname: server.domain.com
    IP1: ns1.domain.com
    IP2: ns2.domain.com

    so i have used up 2 ips and i have seen a zone file created like server.domain.com.

    i am confused here...:confused:

    1. what zone file should i create for the above host? should it be same as host name?

    2. Can i create multiple name servers names with just 2IPs above. Say i create new resellers can they have their own name server names (like ns1.reseller.com and so on..) ? Is that possible?

    i am confused totally with this nameserver thing and scratching my head for the past 2 days?
     
    olddocks, Jan 13, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    The nameservers for your domain should be those of your hosting provider or domain registrar. You don't need to create your own unless you know exactly what you're doing and require fine-grained control. Most hosting companies provide a control panel to manage your DNS records so you don't have to worry about zone files, TTLs etc.

    Run a whois for your domain to see which nameservers it is assigned.

    The 4 IPs you got with the hosting are meant to be used by your websites and even if you do want to setup your own DNS, it would be wrong to have both NSs point to the same server.
     
    boltok, Jan 14, 2008 IP
  3. saadahmed007

    saadahmed007 Admínistratör

    Messages:
    5,272
    Likes Received:
    869
    Best Answers:
    0
    Trophy Points:
    380
    #3
    You can create unlimited number of nameservers with 2 ips..
     
    saadahmed007, Jan 14, 2008 IP
  4. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #4
    No, you are only allowed one per IP. You can read more on this here or any good guide to DNS.

    You must be confusing name servers with name records. The latter can be as many as your zone file can handle. :)
     
    boltok, Jan 15, 2008 IP
  5. little_angel

    little_angel Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Normally domain name registrar have the tools for you to set up name servers if you really need it. ;)
     
    little_angel, Jan 15, 2008 IP
  6. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #6
    excellent resource :) yes, i did experiment running 2 nameservers with 2 IPs here is what i did..

    i created ns1.reseller1.com and ns2.reseller1.com with NS entry of my reseller domain. Then i created A record of above ns entries that points to IP of original nameservers. It perfectly worked for me.

    of course! on single name server i had many ns records as aliases.
     
    olddocks, Jan 15, 2008 IP