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... 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?
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.
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.
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.